Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Adding device identifier to BLE DFU application

I am using bootloader based on Nordic secure bootloader example. I would like to add possibility to identify device after entering BLE DFU. I was thinking about device MAC address however this solution won't work with Apple devices as they don't have access to device address. I would like also to avoid editing Nordic libraries. Is there any possibility to achieve this or I am forced to edit DFU libraries?

Parents Reply
  • you are right. Buttonless DFU Service provided with Bluetooth SIG has command to setting bootloader advertising name after entering to it. I have found this few days ago and wanted to reply to my question but you were faster.

    To sum up. Then developer is using bootloader prepared by Nordic then he set up advertising name with `#define` preprocessor directive. Easiest way to provide customizable bootloader advertising name is to provide Buttonless DFU Service in application. This service has two commands: first is for jumping into bootloader and second is for setting DFU target name after jumping. On the other hand this solution has some limitations, more informations: https://infocenter.nordicsemi.com => SDK => nRF5 SDK => Libraries => BLE Services => Buttonless Secure DFU Service 

Children
No Data
Related