![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_coap_shadow_delta_process | ( | const struct nrf_cloud_data * | in_data, |
| struct nrf_cloud_obj *const | delta_out ) |
#include <include/net/nrf_cloud_coap.h>
Process any elements of the shadow relevant to this library.
One such element is the control section, which specifies the log level.
If application-specific delta data exists, it will be provided in delta_out.
| [in] | in_data | A pointer to a structure with the length and a pointer to the delta received. |
| [out] | delta_out | A pointer to a structure that contains application-specific delta data. |
| -ENOMSG | Error decoding input data. |
| 0 | Success, no application-specific delta data. |
| 1 | Success, application-specific delta data exists. Caller is responsible for the memory in delta_out; free with nrf_cloud_obj_free. |