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

DFU update for nrf51422 multirole lesc

Hi,

I am using sdk11 and nrf51422 device with s130 softdevice for ble_multilink_lesc example code. How do I add DFU service in the existing code? I have added DFU service for other peripheral examples. But here when I follow the same procedure, the device is not at all advertising(not seen in nrf connect mobile app).

Parents Reply
  • I literally just commented in line 1496 in main.c in the project you uploaded:

    device_manager_init(erase_bonds);

    Note that I did not test DFU functionality, only checked that no error is returned from dfu_app_dm_appl_instance_set().

    I see that you have added peer_manager to your project, I guess this is why you removed the device_manager initialization? It may create some issues if you use both. It looks like device manager is used in the DFU functions that you are using. Any chance you can migrate the project to SDK 12.3.0, where the DFU libraries are updated and device manger is removed?

Children
Related