Bosch IoT Suite

Sending device data examples

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 Provisioning of devices via developer console).

  • The Hub service will forward these data to the Things service using the persistent connection which was created inline with the service booking. This connection works via AMQP.

  • Once the Things service receives the data it will assume that the device and the thing IDs are the exactly 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 https://docs.bosch-iot-suite.com/hub/general-concepts/retryguide.html.