This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BT address vs DEVICEADDR

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?

BT address and DEVICEADDR

Parents
  • 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.

Reply
  • 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.

Children
No Data
Related