Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
hawkbit.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Linumiz
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
13#ifndef ZEPHYR_INCLUDE_MGMT_HAWKBIT_H_
14#define ZEPHYR_INCLUDE_MGMT_HAWKBIT_H_
15
16#define HAWKBIT_JSON_URL "/default/controller/v1"
17
36};
37
43int hawkbit_init(void);
44
52
64
69#endif /* _HAWKBIT_H_ */
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.
hawkbit_response
Response message from Hawkbit.
Definition: hawkbit.h:26
void hawkbit_autohandler(void)
Runs Hawkbit probe and Hawkbit update automatically.
@ HAWKBIT_PROBE_IN_PROGRESS
Definition: hawkbit.h:35
@ HAWKBIT_METADATA_ERROR
Definition: hawkbit.h:29
@ HAWKBIT_NETWORKING_ERROR
Definition: hawkbit.h:27
@ HAWKBIT_OK
Definition: hawkbit.h:31
@ HAWKBIT_CANCEL_UPDATE
Definition: hawkbit.h:34
@ HAWKBIT_UPDATE_INSTALLED
Definition: hawkbit.h:32
@ HAWKBIT_NO_UPDATE
Definition: hawkbit.h:33
@ HAWKBIT_UNCONFIRMED_IMAGE
Definition: hawkbit.h:28
@ HAWKBIT_DOWNLOAD_ERROR
Definition: hawkbit.h:30