nRF Cloud shadow "reported" does not update

We use the device shadow "desired" section to send configuration params to the device. The device processes and accepts the params and then returns them in the "reported" section.

This generally works as expected.

However, sometimes at some point the reported section in the nRF Cloud stops reflecting the update and shows the old values.

Example: Lets say the old value of "param" is "old".

The nRF Cloud sends a new "desired" section to the device:

"desired": {

  "config": {

    "param": "new"

  }

}

The device accepts "param": "new", processes the change internally, and then returns

"reported" : {

  "config": {

     "param": "new"

  }

}

However, in the nRF Cloud reported section "param" remains "old". It seems the new "reported" section is not processed by the nRF Cloud shadow.

We have not found a trigger for this. But is happens on multiple devices fairly regularly. 

Have you seen this before? Do you have advice how to proceed?

Thanks

Parents
  • Hi,


    The device accepts "param": "new", processes the change internally, and then returns
    "param": "new"

    Have you checked your connection status when the device did this processing and returned new param?
    How did you check that the device sent new reported "param" value and that it was received in nRF Cloud as expected?

    However, in the nRF Cloud reported section "param" remains "old". It seems the new "reported" section is not processed by the nRF Cloud shadow.

    Can you provide screenshot of the place in nRF Cloud which shows that new reported section has not been processed and updated?

    Best regards,
    Dejan

  • Hi,

    Thanks for the reply. We investigated this in more detail. The SW tries to send the shadow reported update to the nRF Cloud, but in some circumstances fails for reasons we don't yet understand (the connection is up). Because the SW doesn't retry to send the update, as a result the cloud never sees it -- which explains the reported section never gets updated.

    We are now investigating why the sending fails. I'll let you know what we find.

    Thanks,

    Terrence

  • Hi Terrence,

    teba99 said:
    We are now investigating why the sending fails. I'll let you know what we find.

    Please let me know the result of your investigation at your earliest convenience.

    Best regards,
    Dejan

Reply Children
Related