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

Add secured OTA in ble_app_template

Hi,

I want to add a secured OTA(Button Less) in ble_peripheral\ble_app_template.

Is there any proper tutorial/document/example for this?

Thanks! 

Parents Reply
  • Hi,

    The app will not be able to set up the SVCI interface unless you have a bootloader present.

        // Initialize the async SVCI interface to bootloader before any interrupts are enabled.
        err_code = ble_dfu_buttonless_async_svci_init();
        APP_ERROR_CHECK(err_code);

    Tip: disable NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED and enable NRF_LOG_BACKEND_RTT_ENABLED in sdk_config.h, then make sure you have selected the "debug" configuration in the drop down menu in the top left corner of SES. This will make it so that the error information is printed out to the debug terminal window next time you start a debug session.

Children
Related