zephyr/subsys/mgmt/hawkbit
Glenn Andrews 94084e5aba Lib: SMF: Add return code to signal event propagation
See Discussion https://github.com/zephyrproject-rtos/zephyr/discussions/83659
for information about the purpose of this change.

Modifies run actions of hierarchical state machines
to return a value indicating if the event was handled
by the run action or should be propagated up to the
parent run action. Flat state machines are not affected,
and their run action returns void.

smf_set_handled() has been removed and replaced by
this return value. smf_set_state() will not propagate
events regardless of the return value as the transition
is considered to have occurred.

Documentation, tests, samples, has been updated.
USB-C and hawkBit use SMF and have been updated to use
the new return codes.

Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
2025-06-17 16:04:04 +02:00
..
CMakeLists.txt mgmt: hawkbit: use flash_area from flash_ctx 2024-12-23 09:17:14 +01:00
hawkbit_autohandler.c mgmt: hawkbit: also clear in the call of hawkbit_autohandler() 2025-05-07 11:44:59 +02:00
hawkbit_device.c mgmt: hawkbit: do not prepend custom controllerId 2025-05-28 11:09:10 +02:00
hawkbit_device.h mgmt: hawkbit: do not prepend custom controllerId 2025-05-28 11:09:10 +02:00
hawkbit_firmware.c
hawkbit_firmware.h
hawkbit_priv.h mgmt: hawkbit: rename close to cancel 2024-12-23 09:17:14 +01:00
hawkbit.c Lib: SMF: Add return code to signal event propagation 2025-06-17 16:04:04 +02:00
Kconfig mgmt: hawkbit: add shell autohandler timeout Kconfig 2025-06-02 22:10:13 +02:00
shell.c mgmt: hawkbit: add shell autohandler timeout Kconfig 2025-06-02 22:10:13 +02:00