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

◆ nrf_cloud_coap_shadow_service_info_update()

int nrf_cloud_coap_shadow_service_info_update ( const struct nrf_cloud_svc_info *const svc_inf)

#include <include/net/nrf_cloud_coap.h>

Update the device's "serviceInfo" section in the shadow. This section informs nRF Cloud of the device's FOTA capabilities.

Parameters
[in]svc_infService info items to be updated in the shadow.
Returns
0 If successful, nonzero if failed. Negative values are device-side errors defined in errno.h. Positive values are cloud-side errors (CoAP result codes) defined in zephyr/net/coap.h.