nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches
aws_fota.h File Reference

AWS FOTA library header. More...

#include <dfu/dfu_target.h>
#include <zephyr/net/mqtt.h>

Go to the source code of this file.

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

AWS FOTA library header.