![]() |
nRF Connect SDK API 3.4.99
|
| int nrf_cloud_coap_shadow_desired_update | ( | const char *const | shadow_json | ) |
#include <nrf_cloud_coap.h>
Update the device's "desired state" in the shadow through the state/desired CoAP resource. Normally, this is only used to silence a shadow delta that is incompatible with the device, by overwriting the invalid desired values with the reported values.
| [in] | shadow_json | Null-terminated JSON string to be written to the device's shadow. |
| -EACCES | Device does not have a valid nRF Cloud CoAP connection. |