FOTA takes so long to complete (MCUBoot + mcumgr + Bluetooth)


Rodrigo Peixoto <rodrigopex@...>
 

Hello,

I could make the FOTA via Bluetooth work following the documentation (http://docs.zephyrproject.org/samples/subsys/mgmt/mcumgr/smp_svr/README.html). It was not so easy, in fact, some parts of that were tricky to me. Besides that, I could merge it with the mesh_onoff sample. The FOTA portion of the code is working properly, but I still need to check if the mesh is running properly after merging.

The only thing I am concerned about is the upload data rate. It takes too long when updating an image with 130KB, it takes in average 2 or 3 minutes (my board: nrf52840 DK). Nowadays, my solution is based on 600 devices, in a near future, it will be 3000. Make some superficial calculations it will take at least 6000 minutes which is 100 hours which is 12.5 work days (8 hours per day) running without stop. God, it is a real pain.

Is there anything I can do to speed up that?

Any clue on that? Is there any way to make this in parallel via mesh network or something like that?

Thank you very much. Best regards, Rodrigo Peixoto Ayna.tech {+55 (82) 98144-8585}

Join devel@lists.zephyrproject.org to automatically receive all group messages.