Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
hawkBit main header file More...
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef int(* | hawkbit_config_device_data_cb_handler_t) (const char *device_id, uint8_t *buffer, const size_t buffer_size) |
Callback to provide the custom data to the hawkBit server. | |
typedef bool(* | hawkbit_get_device_identity_cb_handler_t) (char *id, int id_max_len) |
Callback to get the device identity. | |
Enumerations | |
enum | hawkbit_response { HAWKBIT_NO_RESPONSE , HAWKBIT_NETWORKING_ERROR , HAWKBIT_UNCONFIRMED_IMAGE , HAWKBIT_PERMISSION_ERROR , HAWKBIT_METADATA_ERROR , HAWKBIT_DOWNLOAD_ERROR , HAWKBIT_OK , HAWKBIT_UPDATE_INSTALLED , HAWKBIT_NO_UPDATE , HAWKBIT_CANCEL_UPDATE , HAWKBIT_NOT_INITIALIZED , HAWKBIT_PROBE_IN_PROGRESS } |
Response message from hawkBit. More... | |
Functions | |
int | hawkbit_set_custom_data_cb (hawkbit_config_device_data_cb_handler_t cb) |
Set the custom data callback. | |
int | hawkbit_init (void) |
Init the flash partition. | |
enum hawkbit_response | hawkbit_probe (void) |
The hawkBit probe verify if there is some update to be performed. | |
void | hawkbit_reboot (void) |
Request system to reboot. | |
int | hawkbit_set_device_identity_cb (hawkbit_get_device_identity_cb_handler_t cb) |
Set the device identity callback. | |
int | hawkbit_reset_action_id (void) |
Resets the hawkBit action id, that is saved in settings. | |
hawkBit main header file