Skip to content

Commit ae4468c

Browse files
alxelaxrlubos
authored andcommitted
[nrf fromtree] bluetooth: mesh: clarify mesh dfu fwid max length
Commit changes BT_MESH_DFU_FWID_MAXLEN option to be compliant with BLE Mesh specification. Signed-off-by: Aleksandr Khromykh <[email protected]> (cherry picked from commit 2411238)
1 parent 8f5a3e8 commit ae4468c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

subsys/bluetooth/mesh/Kconfig

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,10 +1100,15 @@ menu "Firmware Update model configuration"
11001100

11011101
config BT_MESH_DFU_FWID_MAXLEN
11021102
int "DFU FWID max length"
1103-
default 16
1103+
default 106
11041104
range 0 106
11051105
help
1106-
This value defines the maximum length of an image's firmware ID.
1106+
This value defines the maximum length of the vendor-specific version information
1107+
that the mesh stack can manage, describing the image. Please note that
1108+
only 106 octets size allows the device to be compliant with
1109+
the Bluetooth Mesh DFU specification. If smaller than 106 octets are set,
1110+
then the device will fail with managing firmware images that have
1111+
a longer vendor-specific version information.
11071112

11081113
config BT_MESH_DFU_METADATA_MAXLEN
11091114
int "DFU metadata max length"

0 commit comments

Comments
 (0)