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


Johan Hedberg
 

Hi,

On Thu, Apr 26, 2018, Luiz Augusto von Dentz wrote:
There are a few things that might help:

1. Increate the GATT MTU: We might need to increase the buffer size on
Zephyr and then use Exchange MTU command to enable it. By default, it
is set to 23 bytes only.
2. Enable L2CAP CoC as transport: That might be the fastest way to do
file transfer with BLE but that has to be enabled in mcumgr which I
don't think is the case. I tested the speed of a it some time back and
I got something around 20KBps using BlueZ's l2test.
3. Use the 2Mbps Phy. The code should already be setting a preference to
it automatically, so I *think* it then only depends on whether the
remote side is able to do 2Mbps.

Johan

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