Closed coderbyheart closed 4 years ago
@simensrostad How was this fixed?
At some point the function that publishes the device configurations was added to the routine that is executed upon a CONNACK. Before that this function was only executed upon received data from AWS. So in the case of not receiving a desired config(empty shadow) the device would not send its config. I recently tested this with an empty shadow and observed the expected behaviour and closed the issue. I simply forgot to close the issue with an explaining commit message.
If a device is new, and there is no desired configuration, it will not report it's default configuration:
This should be done nevertheless, since different firmware version might have different default values and it would be good to know what the device has as defaults.