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

Command to come out of Bootloader back to Application

The device is broadcasting as "DfuTarg" and i want it to come out of the bootloader mode back to the application mode. Is there is a command i can issue to Secure DFU Characteristic (8ec90002-f315-4f60-9fb8-838830daea50) that forces device to restart in application mode.

Parents
  • Currently we don't have a BLE command to exit DFU and go back to application.

    But you can add that extra into the bootloader and trigger a reset when you receive that command.

    What you need to do is to add one extra command into ble_dfu_op_code_t

    Then in on_ctrl_pt_write() you handle that command. You can choose to send a response, disconnect before you do reset so the connection can be graceful disconnected.

Reply
  • Currently we don't have a BLE command to exit DFU and go back to application.

    But you can add that extra into the bootloader and trigger a reset when you receive that command.

    What you need to do is to add one extra command into ble_dfu_op_code_t

    Then in on_ctrl_pt_write() you handle that command. You can choose to send a response, disconnect before you do reset so the connection can be graceful disconnected.

Children
Related