Receiving Configuration Update Requests
Configuration update requests are made from BioT to change the configuration of the device. The configuration request can be accepted or rejected, and it's up to the device to update BioT with the result of the request.
Note
The clientId in the following topics is configured in the device during the activation stage. See Direct IoT Device Integration.
Update requests arrive from the topic:
$aws/things/<clientId>/shadow/name/configuration/update/delta
The device receives the configuration section that was changed and should act upon it.
Once the configuration is done, the device reports back to BioT with the new updated configuration by publishing a JSON to the following topic:
$aws/things/<clientId>/shadow/name/configuration/update
The message body contains the updated state, for example:
{
"version": 2,
"timestamp": 1642081940,
"state": {
"reported": {
"color": "green"
}
}
}
After publishing an update, the device receives an ACK for the update request topic:
$aws/things/<clientId>/shadow/name/configuration/update/accepted
Updated 1 day ago