Listen to configuration changes from cloud
Whenever the users are making device configuration change in DyoCense cloud, the changes need to be synced with the device.
- The device need to subscribe to topic {clientId}/twin/properties/desired/PATCH/# to receive changes applied on desired properties.
- When a change is occurred in desired properties of the device, the cloud will publish the desired properties on {clientId}/twin/properties/desired/PATCH/?version={newversion} Where, new version is the incremental version number of the desired properties. Below you can see a sample payload data that will be received on the topic when these parameters are modified by cloud.