nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
AWS FOTA library

Library for performing FOTA with MQTT and HTTP. More...

Data Structures

struct  aws_fota_event_dl
 
struct  aws_fota_event
 

Macros

#define AWS_FOTA_EVT_DL_COMPLETE_VAL   100
 

Typedefs

typedef void(* aws_fota_callback_t) (struct aws_fota_event *fota_evt)
 

Enumerations

enum  aws_fota_evt_id {
  AWS_FOTA_EVT_START , AWS_FOTA_EVT_DONE , AWS_FOTA_EVT_ERROR , AWS_FOTA_EVT_ERASE_PENDING ,
  AWS_FOTA_EVT_ERASE_DONE , AWS_FOTA_EVT_DL_PROGRESS
}
 

Functions

int aws_fota_init (aws_fota_callback_t evt_handler)
 Initialize the AWS Firmware Over the Air library.
 
int aws_fota_mqtt_evt_handler (struct mqtt_client *const client, const struct mqtt_evt *evt)
 AWS Firmware over the air mqtt event handler.
 
int aws_fota_get_job_id (uint8_t *const job_id_buf, size_t buf_size)
 Get the null-terminated job id string.
 

Detailed Description

Library for performing FOTA with MQTT and HTTP.