Golioth Firmware SDK
|
Go to the source code of this file.
Data Structures | |
struct | golioth_fw_update_config_t |
Macros | |
#define | GOLIOTH_FW_UPDATE_DEFAULT_PACKAGE_NAME "main" |
Typedefs | |
typedef void(* | golioth_fw_update_state_change_callback) (golioth_ota_state_t state, golioth_ota_reason_t reason, void *user_arg) |
Functions | |
void | golioth_fw_update_init (golioth_client_t client, const char *current_version) |
void | golioth_fw_update_init_with_config (golioth_client_t client, const golioth_fw_update_config_t *config) |
void | golioth_fw_update_register_state_change_callback (golioth_fw_update_state_change_callback callback, void *user_arg) |
bool | fw_update_is_pending_verify (void) |
void | fw_update_rollback (void) |
Initiate a firmware rollback. More... | |
void | fw_update_reboot (void) |
void | fw_update_cancel_rollback (void) |
golioth_status_t | fw_update_handle_block (const uint8_t *block, size_t block_size, size_t offset, size_t total_size) |
golioth_status_t | fw_update_read_current_image_at_offset (uint8_t *buf, size_t bufsize, size_t offset) |
void | fw_update_post_download (void) |
golioth_status_t | fw_update_validate (void) |
golioth_status_t | fw_update_change_boot_image (void) |
void | fw_update_end (void) |
#define GOLIOTH_FW_UPDATE_DEFAULT_PACKAGE_NAME "main" |
Definition at line 11 of file golioth_fw_update.h.