Hello
I've been experimenting in increasing the number of targets that a mesh FOTA distribution server can support on nRF52840
The CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX has a maximum 65535
Hello
I've been experimenting in increasing the number of targets that a mesh FOTA distribution server can support on nRF52840
The CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX has a maximum 65535
Hi Andy,
My opinion is that the build assert i pointed in my last reply need to be removed or change to something else.
I assume issue #2 and #3 you mentioned are also related to that build assert, correct ?
I don't think CONFIG_BT_MESH_TX_SEG_MAX should be increased to a large number .The number of segment in a message should be kept low they use a lot of resource and can reduce the throughput of the network a lot.
Only #2 is related to build asserts.
#3 is the "SDU canceled" error when CONFIG_BT_MESH_TX_SEG_MAX > 10 regardless of how many targets in the list.
I commented out asserts I was getting for "Receivers List" and "Receivers add" messages in zephyr\subsys\bluetooth\mesh\dfd_srv.c and was able to build successfully with CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX set to 100 and CONFIG_BT_MESH_TX_SEG_MAX set to 10
Distribution was successful without "SDU canceled" messages
Looks like we solved the problem!
Would be great to get that fix into the next SDK release
Thank you for help!
Hi Andy,
I agree that that build assert should be removed. I was checking with the team and it seems that it's not mandated by the spec. We are continuing the investigation on why it's added in the first place. I suspect that we didn't think of using multiple dfd receivers-get to get the list instead of using one single command to get the list.
The team has acknowledged this issue and we will have a fix. Thanks for the report.