A function that allows a device to communicate with another device.