nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
azure_fota.h File Reference

Azure Firmware Over The Air (FOTA) library. More...

Go to the source code of this file.

Data Structures

struct  azure_fota_event
 Azure FOTA event. More...
 

Typedefs

typedef void(* azure_fota_callback_t) (struct azure_fota_event *evt)
 Callback to receive Azure FOTA events.
 

Enumerations

enum  azure_fota_evt_type {
  AZURE_FOTA_EVT_REPORT , AZURE_FOTA_EVT_START , AZURE_FOTA_EVT_DONE , AZURE_FOTA_EVT_ERROR ,
  AZURE_FOTA_EVT_ERASE_PENDING , AZURE_FOTA_EVT_ERASE_DONE
}
 

Functions

int azure_fota_init (azure_fota_callback_t evt_handler)
 Initialize the Azure Firmware Over the Air library.
 
int azure_fota_msg_process (const char *const buf, size_t size)
 Process an Azure IoT Hub device twin JSON object, check for FOTA information and act accordingly if found.
 

Detailed Description

Azure Firmware Over The Air (FOTA) library.