Defining Device Operations
The IoT Platform REST sendCommand endpoint can be used to send an endpoint to a Device that activates operations on the Device. These endpoints contain free text that represents the method to be executed on the Device.
The IoT Platform Device SDK endpoint hubClient.receive on the Device listens for the arrival of this endpoint and then executes this free text in order to activate the relevant operation on the Device.
Alternatively, IoT Platform can set up its endpoint gateway that can send endpoints to Devices that are not using the IoT Platform Device SDK.