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

◆ azure_fota_msg_process()

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.

Parameters
bufPointer to buffer.
sizeSize of buffer.
Return values
0If no FOTA information found.
1If FOTA information was processed. If an error occurs, a negative value is returned.