Skip to content

struct ota_target_handler_t ​

#include <ota/ota.h>

Public Attributes ​

Name
ota_context_tctx
context pointer that will be passed to all callbacks
ota_begin_ton_update_begin
callback to invoke when the update process begins
ota_append_ton_update_append
callback to invoke when the update process requests more bytes
ota_finalize_ton_update_finalize
callback to invoke when the update process finishes
ota_abort_ton_update_abort
callback to invoke when the update process was aborted

Public Attributes Documentation ​

variable ctx ​

cpp
ota_context_t ota_target_handler_t::ctx

context pointer that will be passed to all callbacks

variable on_update_begin ​

cpp
ota_begin_t ota_target_handler_t::on_update_begin

callback to invoke when the update process begins

variable on_update_append ​

cpp
ota_append_t ota_target_handler_t::on_update_append

callback to invoke when the update process requests more bytes

variable on_update_finalize ​

cpp
ota_finalize_t ota_target_handler_t::on_update_finalize

callback to invoke when the update process finishes

variable on_update_abort ​

cpp
ota_abort_t ota_target_handler_t::on_update_abort

callback to invoke when the update process was aborted