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

buttenlesss dfu interactive command and secure dfu uart

after accomplish merging buttonless dfu and interactive command -->the application

https://devzone.nordicsemi.com/f/nordic-q-a/72701/merging-interactive-command-and-buttonless-dfu-base-on-sdk-_17-0-2

doing lots of testing on my application show the application works correctly on buttonless dfu and upload the application with on air update(using  iphone application dfu upload)

after upload from my phone the apllication works fine

now im trying dfu uart upload but strange thing happened using same application to upload with dfu_uart

but the application caanot work does anyone know why(no error showing) 

knowing error because the interactive command does not wort

  • So no BLE in the bootloader at all, then? 

    In that case, you need to remove the ret_val = nrf_dfu_set_adv_name_init(); in ble_dfu_buttonless_async_svci_init() in ble_dfu_unbonded.c.

    But really, it doesn't make much sense to use a buttonless dfu service if you are only using a bootloader that only supports UART. If you intend to have a bootloader that supports both uart and BLE, then you can put the nrf_dfu_set_adv_name_init() when you have included the BLE transport in the bootloader.

    Best regards,

    Edvin

Related