Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
autohandler.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Vogl Electronic GmbH
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
19#ifndef ZEPHYR_INCLUDE_MGMT_HAWKBIT_AUTOHANDLER_H_
20#define ZEPHYR_INCLUDE_MGMT_HAWKBIT_AUTOHANDLER_H_
21
23
32void hawkbit_autohandler(bool auto_reschedule);
33
46
53
67int hawkbit_autohandler_set_delay(k_timeout_t timeout, bool if_bigger);
68
73#endif /* ZEPHYR_INCLUDE_MGMT_HAWKBIT_AUTOHANDLER_H_ */
void hawkbit_autohandler(bool auto_reschedule)
Runs hawkBit probe and hawkBit update automatically.
int hawkbit_autohandler_set_delay(k_timeout_t timeout, bool if_bigger)
Set the delay for the next run of the autohandler.
enum hawkbit_response hawkbit_autohandler_wait(uint32_t events, k_timeout_t timeout)
Wait for the autohandler to finish.
int hawkbit_autohandler_cancel(void)
Cancel the run of the hawkBit autohandler.
hawkbit_response
Response message from hawkBit.
Definition hawkbit.h:33
hawkBit main header file
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Kernel timeout type.
Definition sys_clock.h:65