How do I add a DFU support for nRF Connect SDK in Linux

Hello, 

I'm using Linux (Ubuntu) and I would like to add a DFU support to my app.

Tried to follow Add DFU support to your application but it seems to me that some of the steps really focus on the sample they used in the article.

Additionally, I get an error when trying to add the includes described in the article, so I don't know how to proceed from here.

Advice and tips are welcome :)

Parents Reply
  • Hi Matan, 

    If you are getting started I would suggest to try testing on the lbs example (located at \nrf\samples\bluetooth\peripheral_lbs) . 
    After you have tested and managed to do DFU you can start implementing the same to your application. 

    You don't have to add the SMP service UUID to the advertising packet if you don't want to. By adding the SMP service UUID to the advertising packet, it's easier for the app on the phone to detect if it has the DFU support or not. It's optional.
    You can call 
    os_mgmt_register_group();
    img_mgmt_register_group();
    smp_bt_register();

    right after bt_enable() in your code. 

    The blinky example doesn't have BLE support by default so more work need to be done. Please try to base your application on a BLE example. 

Children
Related