Skip to content

Commit

Permalink
doc: releases: 3.7: change of hawkbit autohandler
Browse files Browse the repository at this point in the history
Mention change of hawkbit autohandler and shell in the
migration guide and the release notes.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
  • Loading branch information
maass-hamburg committed May 7, 2024
1 parent 9f9e7a8 commit d3ed06d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/releases/migration-guide-3.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ hawkBit
* :kconfig:option:`CONFIG_SETTINGS` needs to be enabled to use hawkBit, as it now uses the
settings subsystem to store the hawkBit configuration.

* :c:func:`hawkbit_autohandler` now takes one argument. This argument has to be set to
``true`` for the same behavior as before the change.

LoRaWAN
=======

Expand Down
18 changes: 18 additions & 0 deletions doc/releases/release-notes-3.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,24 @@ Libraries / Subsystems
registered to set the device attributes that are sent to the hawkBit server. Use the
:c:func:`hawkbit_set_custom_data_cb` function to register the callback.

* :c:func:`hawkbit_autohandler` now takes one argument. If the argument is set to true, the
autohandler will reshedule itself after running. If the argument is set to false, the
autohandler will not reshedule itself. Both variants are sheduled independent of each other.
The autohandler always runs in the system workqueue.

* With :c:func:`hawkbit_autohandler_wait` you can wait for the autohandler to finish. This
function will block until the autohandler is finished.The ``event`` parameter can be passed
``UINT32_MAX`` to wait for the autohandler to finish one run, or passed :c:macro:`BIT`
together with a value from c:enum:`hawkbit_response` to wait for a specific event.

* Running hawkBit from the shell is now executed in the system workqueue.

* Use the :c:func:`hawkbit_autohandler_cancel` function to cancel the autohandler.

* Use the :c:func:`hawkbit_autohandler_set_delay` function to delay the next run of the autohandler.
If the parameter ``if_bigger`` is set to true, the delay will only be set if the new delay is
bigger than the current delay.

* Logging

* By enabling :kconfig:option:`CONFIG_LOG_BACKEND_NET_USE_DHCPV4_OPTION`, the IP address of the
Expand Down

0 comments on commit d3ed06d

Please sign in to comment.