nRF Connect SDK API 2.8.0
|
int azure_fota_msg_process | ( | const char *const | buf, |
size_t | size ) |
#include <include/net/azure_fota.h>
Process an Azure IoT Hub device twin JSON object, check for FOTA information and act accordingly if found.
buf | Pointer to buffer. |
size | Size of buffer. |
0 | If no FOTA information found. |
1 | If FOTA information was processed. If an error occurs, a negative value is returned. |