Bosch IoT Device Management

Configure the connection for a software update on the Demo device

This section describes how to update the default pre-configured connection, which is established automatically by subscribing the Bosch IoT Device Management package.
It adds a filter, thanks to which not all changed attribute changes are communicated to the device layer.

The adjustment is only necessary to perform a software update on the Demo device, because it communicates via WebSockets to the Bosch IoT Hub HTTP adapter.
That results into very short "sessions" where the complete "handshake" that the device is assigned a software update and accepts it, can not be completed; and the next attempt cannot resume but will start the process again.

In case you are sure that your device layer will never consume attributes, an alternative would be to update the policy instead. For example you could allow only feature related change updates via this connection. See Policy examples.

Navigate to Connections

Your instance is pre-configured to allow all messages from the device management layer to be routed and processed at the digital twin layer, and vice versa.

Find the Connections link in the left navigation bar of the Bosch IoT Suite console. If you don't see it use the search field and "pin" it to the left navigation bar by clicking the star icon.

To add a filter on the target, proceed as follows:

  1. Open Connections to see the entries created automatically during the package booking process.

  2. Click "Devices via Bosch IoT Hub" connection to see its details.

  3. Click Edit to get access to the entry fields.

  4. In section Targets you will find two sections with the pre-configured topics.

    1. Leave the first target untouched.

    2. Edit the second target for the Twin events.

    3. Scroll down to "Topics to publish on address" for "Thing twin events".

  5. As the Filter by RQL expression (optional) set the following expression to omit forwarding of attribute changes.
    not(exists(attributes/))

  6. Click Save changes.

images/confluence/download/attachments/2250870356/demoDevice_softwareUpdate_connection.png


  • Scroll up to the top of this connection.

  • Click Test connection.

  • If successful, confirm to apply all changes with Save.

For more information on managed configurations see Check your connectivity and successful digital twin updates.