An adapter for handling generic devices and messaging