Open gkovelman opened 7 years ago
Hi, with ATT_MTU=247 it might be that the data is being sent to the bootloader too fast, we have seen this happen before. Could you try to reduce the MTU and see if that helps?
The pca10031 runs a softdevice that does not support MTU above 23, so that might explain why the problem is not occuring there.
So fast that the service discovery fails, even before the data transmission? Weird.
I'll try to reproduce this with ATT MTU=23
You're probably right, the error happens too fast for the MTU to be the issue here, unless in some indirect way.
Confirming that reducing the MTU helps with the issue. I modified to #define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 23
and the PCA10040 could perform DFU.
Can we expect support for larger ATT MTU?
Related to https://github.com/NordicSemiconductor/pc-nrfutil/issues/147 To be looked into.
I'm using the pc-nrfutil v3.3.2 executable on Windows 10 which is using the ble driver v0.11.3. Connectivity chip is NRF52 on PCA10040. I'm trying to perform secure buttonless DFU on my custom board.
The error that I'm seeing is:
Secure buttonless DFU is working with the iOS/Android apps/libraries, so my BLE profile is compatible. This is also working correctly when the connectivity chip is nRF51 on PCA10031. Log is the following: