Over The Air (OTA) Update Library
All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
cy_ota_agent_params_t Struct Reference

Description

OTA Agent parameters structure.

These parameters are for describing some aspects of the OTA Agent.

Data Fields

uint8_t reboot_upon_completion
 1 = Automatically reboot upon download completion and verify. More...
 
uint8_t validate_after_reboot
 0 = OTA will set MCUboot to permanent before reboot. More...
 
bool do_not_send_result
 If true, do not send the result status. More...
 
cy_ota_callback_t cb_func
 Notification callback function. More...
 
void * cb_arg
 Opaque argument passed to the notification callback function. More...
 

Field Documentation

uint8_t cy_ota_agent_params_t::reboot_upon_completion

1 = Automatically reboot upon download completion and verify.

uint8_t cy_ota_agent_params_t::validate_after_reboot

0 = OTA will set MCUboot to permanent before reboot.

1 = Application must call cy_ota_validated() after reboot.

bool cy_ota_agent_params_t::do_not_send_result

If true, do not send the result status.

cy_ota_callback_t cy_ota_agent_params_t::cb_func

Notification callback function.

void* cy_ota_agent_params_t::cb_arg

Opaque argument passed to the notification callback function.