Firmware loader settings
Note
The support for this feature is currently experimental.
This module is intended for Bluetooth® LE applications that use the Bluetooth LE MCUmgr firmware loader.
It allows the main application to set the advertising name used by the firmware loader image through Zephyr Settings storage.
The name is stored under the fw_loader/adv_name key and can be updated remotely by the client using the MCUmgr settings management group.
By assigning a unique name before reset, the DFU client can reconnect to the same device based on that name once it has rebooted into the firmware loader.
Configuration
For sysbuild projects with a Bluetooth LE firmware loader image, enable the CONFIG_FW_LOADER_SETTINGS_ADV_NAME Kconfig option in the main application and firmware loader image Kconfig fragments.
The firmware loader image must also enable a Settings backend that can access the shared storage.
Remote MCUmgr settings access is restricted to fw_loader/adv_name by default when the CONFIG_FW_LOADER_SETTINGS_ADV_NAME_ACCESS_PROTECT Kconfig option is enabled.
See the Single-slot DFU with MCUboot sample (FILE_SUFFIX=ble_enter build) for a complete configuration example.
API documentation
include/dfu/fw_loader_settings.hsubsys/dfu/fw_loader_settings/src/