Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
#include <syscalls/updatehub.h>
Go to the source code of this file.
Enumerations | |
enum | updatehub_response { UPDATEHUB_NETWORKING_ERROR = 0 , UPDATEHUB_INCOMPATIBLE_HARDWARE , UPDATEHUB_UNCONFIRMED_IMAGE , UPDATEHUB_METADATA_ERROR , UPDATEHUB_DOWNLOAD_ERROR , UPDATEHUB_INSTALL_ERROR , UPDATEHUB_FLASH_INIT_ERROR , UPDATEHUB_OK , UPDATEHUB_HAS_UPDATE , UPDATEHUB_NO_UPDATE } |
Responses messages from UpdateHub. More... | |
Functions | |
void | updatehub_autohandler (void) |
Runs UpdateHub probe and UpdateHub update automatically. | |
enum updatehub_response | updatehub_probe (void) |
The UpdateHub probe verify if there is some update to be performed. | |
enum updatehub_response | updatehub_update (void) |
Apply the update package. | |
int | updatehub_confirm (void) |
Confirm that image is running as expected. | |
int | updatehub_reboot (void) |
Request system to reboot. | |