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

DFU UPDATE OVER BLE WITH A CUSTOM APPLICATION

HI ,

I'm trying to do the application update without using the nrf connect app but with another module ( ESP32).
I'm trying to insert your dfu procedure but I have some problems.

Do you have a detailed guide ?

I am using this https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Flib_bootloader_dfu_validation.html but it is not clear.

I can't understand how to insert command ecc..

I saw one custom implementation but it is for serial dfu.


Thanks ,

 Luca 

Parents Reply Children
  • lucaross said:
    Does Nordic has only that documentation ?

    Yes, this is documentation we have. We have implemented the DFU controller on Android, iOS and Windows/linux devices as these are the most common devices used as DFU controllers  among our customers. 

    If another embedded device is the DFU controller then its very often connected to the nRF device through a wired interface, Unfortunately, we do not have any sample code for DFU over BLE as this would be different for every IC/BLE stack thats used. Its simply to much to maintain. 

    lucaross said:
    It is not detailed.

    It describes the necessary commands you need to send over BLE to the DFU Control Point and DFU Packet Characteristic to send the init packet and the firmware image. Performing a sniffer trace between a Android/iOS device and a nRF device during DFU can also be usefull as you see all the packets that are sent on-air. 

     Best regards

    Bjørn

     

Related