nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_cloud_shadow_device_status_update()

int nrf_cloud_shadow_device_status_update ( const struct nrf_cloud_device_status *const  dev_status)

#include <include/net/nrf_cloud.h>

Update the device status in the shadow.

Parameters
[in]dev_statusDevice status to be encoded.
Return values
0If successful.
-EACCESCloud connection is not established; wait for NRF_CLOUD_EVT_READY.
Returns
A negative value indicates an error.