BLE Uart example combined with OTA update

Is it possible to combine the BLE Uart example with OTA? Our goal is to change the addresses in the filter (BLE Uart central, static ble_gap_addr_t const filter_addr), by updating the entire firmware.

Parents
  • Hi,

    It looks like you are using the nRF5 SDK. You can add DFU suppor to any application.

    The bootloader also holds the transport, so if you have a metod to enter DFU mode during reset adding DFU suppot does not requier any changes to the application. However, you may want to add a mechanism for entering DFU mode (like what is the case with the buttonless DFU service), and then you can add that, or another custom/application specific method. This can be quite simple.

    Note that even if your device acts as a central, the bootloader will act as a peripheral when in bootloader mode if using DFU oer BLE. Alternatively, you can also use DFU over a serial transport. You can read more about the basics of DFU in the nRF5 SDK in Getting started with Nordic's Secure DFU bootloader, a step by step guide.

Reply
  • Hi,

    It looks like you are using the nRF5 SDK. You can add DFU suppor to any application.

    The bootloader also holds the transport, so if you have a metod to enter DFU mode during reset adding DFU suppot does not requier any changes to the application. However, you may want to add a mechanism for entering DFU mode (like what is the case with the buttonless DFU service), and then you can add that, or another custom/application specific method. This can be quite simple.

    Note that even if your device acts as a central, the bootloader will act as a peripheral when in bootloader mode if using DFU oer BLE. Alternatively, you can also use DFU over a serial transport. You can read more about the basics of DFU in the nRF5 SDK in Getting started with Nordic's Secure DFU bootloader, a step by step guide.

Children
Related