This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Avoid Changing mac address in secure bootloader example

Hi, 

I know that the secure bootloader uses different mac address to force services discovery however i would like to keep the same 

address for both software parts as it is problematic for my app team. 

Is there an easy way to disable the address change? I am using SDK15

best regards,

Danny

Parents
  • Hi Danny,

    The address change should be handled by our Android/iOS DFU library. But it is easy to disable this, just comment out the call to gap_address_change() in nrf_dfu_ble.c->gap_params_init(). If you do this change, please make you have enabled the service changed characteristic in both bootloader and application in order to avoid issues related to attribute caching (ref. core spec 5, vol.3, Part G, section 2.5.2).

    Best regards,

    Vidar 

Reply
  • Hi Danny,

    The address change should be handled by our Android/iOS DFU library. But it is easy to disable this, just comment out the call to gap_address_change() in nrf_dfu_ble.c->gap_params_init(). If you do this change, please make you have enabled the service changed characteristic in both bootloader and application in order to avoid issues related to attribute caching (ref. core spec 5, vol.3, Part G, section 2.5.2).

    Best regards,

    Vidar 

Children
No Data
Related