Hi
When I use mesh dfu feature to update devices, It is very slow (150K , almost takes 60min)
What can I configure to improve mesh dfu speed, please?
Hi
When I use mesh dfu feature to update devices, It is very slow (150K , almost takes 60min)
What can I configure to improve mesh dfu speed, please?
Hi
DFU over Mesh is slow, as the Mesh protocol isn't really suited to do high throughput transmissions. The Mesh DFU protocol has a section on transfer rate where you can tweak some of the parameters to increase the throughput, but it does come with some trade offs.
My recommendation would be to implement coexistence with BLE and do your application DFU over BLE instead of Mesh, as that should provide a drastic increase in throughput. But keep in mind that this might not fit all applications, and it will require more memory for the application and more work to implement.
Best regards,
Simon
Thanks for your reply.
Where can I modify some parameters in source code of SDK to increase throughput?
Hi
My colleague Terje has already discussed how to modify the Mesh DFU parameters in this case. Please give it a read.
Best regards,
Simon
sorry , I still can not get the point from "this case".
Hi,
The biggest change you can make in the firmware is changing the packet interval which is controlled by the transfer source device. By default, the Bluetooth Mesh DFU tools emit a new packet every 500ms. Since DFU data is sent in 16-byte chunks, the transfer rate will be 16 B / packet interval.
The other changes you can make to increase your DFU throughput are more "physical", limiting the number of devices in an area, the location of nodes compared to the DFU transmitter, and what external noise sources might affect them. As the documentation says, you won't be able to do much more than 150kB in an hour. So if you need faster transmissions than this you will need to implement BLE coexistence to achieve a noticably better DFU completion time.
Best regards,
Simon