These examples show how a device can send data to our cloud service.
The device needs to authenticate in order to be allowed to communicate to the Hub service. The ID and secrets are set while provisioning (see Device provisioning examples via API).
The Hub service will forward these data to the Things service using the persistent connection which was created inline with the service booking.
Once the Things service receives the data it will assume that the device and the thing IDs are exactly the same. It will try to consume the data and update the thing entity respectively.
After applying the change, the Things service will send change events to all authorized applications to notify them respectively.
The examples in detail:
While developing firmware for your devices, please make use of the best practices listed at General retry and reconnect guidelines for applications and devices.