![]() |
nRF Connect SDK API 3.4.99
|
| int nrf_cloud_coap_shadow_state_update | ( | const char *const | shadow_json | ) |
#include <nrf_cloud_coap.h>
Update the device's "reported state" in the shadow through the state/update CoAP resource. This is used both to report the current state of the device as well as to accept settings changes received in a shadow delta.
| [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. |