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

After DFU completed new firmware is running but advertised name of new firmware not updated.

Hi

The issue is that after a buttonless DFU is completed the new firmware runs as expected but the new advertised name doesn't change.

device name in firmware before DFU p27_5f0181cb63ff 

device name in firmware after DFU p28_5f0181cb63ff  however after DFU the device is still advertising as DFU p27_5f0181cb63ff

if I then connect to the device with nRF Connect view the services and disconnect then the advertised name is seen correctly as p28_5f0181cb63ff

I am using  nRF5_SDK_15.2.0_9412b96  and secure_bootloader_ble_s140_pca10056

It seems for some reason the DEVICE_NAME is not updated/fetched on completion of a secure DFU

#define DEVICE_NAME                     DEVICE_NAME_PREFIX SOFTWARE_VERSION

Any pointers much appreciated

 

 

Parents Reply Children
  • Ok have tested using nRF Connect on the PC and it operates as expected and the DEVICE_NAME updates correctly. So as you say it looks like an issue with caching on the phone or the application. 

    I guess if the cached info is held in the phone and cannot be invalidated by the application then it will be hard for you to fix. I am talking about IOS here not Android as I haven't yet tested android due to lack of a device.  

Related