NRF Cloud Shadow Update / AT Command messaging delay

Hi,

Is it possible to make the MQTT connected device receive the Shadow config updates and AT Commands immediately? Based from our testing, the device only receives the shadow updates when it attempts to transmit some data to the cloud.

During data acquisition phase, it doesn't receive the shadow updates. We are OK with a higher power consumption to make the receiving more responsive.

Parents
  • Hi Adrian! The structure of the MQTT library generally dictates the timing from its internal state machine. For more control over timing, I would recommend taking a look at the CoAP backend instead. Other than that, you could try using the `nrf_cloud_shadow_device_status_update` (send new status) or `nrf_cloud_shadow_transform_request` (request data using JSONata expression) functions to interact with the shadow more directly.

Reply
  • Hi Adrian! The structure of the MQTT library generally dictates the timing from its internal state machine. For more control over timing, I would recommend taking a look at the CoAP backend instead. Other than that, you could try using the `nrf_cloud_shadow_device_status_update` (send new status) or `nrf_cloud_shadow_transform_request` (request data using JSONata expression) functions to interact with the shadow more directly.

Children
Related