A function that allows to control a device from another device.