Receiving Configuration
As stated in Manage Device State, the device gets its configuration updates from the configuration named state
.
Note
The clientId in the following topics is configured in the device during the activation stage. See Direct IoT Device Integration
The device subscribes to the following topic:
$aws/things/<clientId>/shadow/name/configuration/update/delta
Example configuration update request message body:
{
"state": {
"algorithmActive": false,
"ambientTemperature": 28
}
}
Upon making the requested changes, the device reports the changes back to:
$aws/things/<clientId>/shadow/name/configuration/update
Example:
{
"state": {
"reported": {
"algorithmActive": true
}
}
}
Example Flow:
Updated 9 days ago