Hi, There is a difference of one digit in BT address and DEVICEADDR. Could anybody explain this? I know in the last byte we have to add C0, but what about the frst byte? Why is it different?
Hi Sergey,
Then it's normal. In the bootloader we change address by +1 so that the address of the bootloader would not be identical with the application. This is to avoid ATT table caching issue we have on the phone. So that it won't update the ATT table when we switch to bootloader mode.
If you don't want this, you can of course remove that part of code inside dfu_transport_update_start() in dfu_transport_ble.c so that the address is not modified.