14#ifndef ZEPHYR_INCLUDE_MGMT_UPDATEHUB_H_ 
   15#define ZEPHYR_INCLUDE_MGMT_UPDATEHUB_H_ 
  101#include <syscalls/updatehub.h> 
void updatehub_autohandler(void)
Runs UpdateHub probe and UpdateHub update automatically.
 
updatehub_response
Responses messages from UpdateHub.
Definition: updatehub.h:29
 
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_reboot(void)
Request system to reboot.
 
int updatehub_confirm(void)
Confirm that image is running as expected.
 
@ UPDATEHUB_HAS_UPDATE
Definition: updatehub.h:38
 
@ UPDATEHUB_METADATA_ERROR
Definition: updatehub.h:33
 
@ UPDATEHUB_INSTALL_ERROR
Definition: updatehub.h:35
 
@ UPDATEHUB_UNCONFIRMED_IMAGE
Definition: updatehub.h:32
 
@ UPDATEHUB_NO_UPDATE
Definition: updatehub.h:39
 
@ UPDATEHUB_INCOMPATIBLE_HARDWARE
Definition: updatehub.h:31
 
@ UPDATEHUB_OK
Definition: updatehub.h:37
 
@ UPDATEHUB_NETWORKING_ERROR
Definition: updatehub.h:30
 
@ UPDATEHUB_DOWNLOAD_ERROR
Definition: updatehub.h:34
 
@ UPDATEHUB_FLASH_INIT_ERROR
Definition: updatehub.h:36