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

Integrating DFU into ble_app_uart example in sdkv10.0.0.

I am trying to integrate DFU into ble_app_uart example.

I am using nrf51422 board, sdk v10.0.0, soft device "s110_nrf51_8.0.0_softdevice.hex".

I have made some changes in "ble_app-uart example" by taking "ble_app_hrs with dfu" as reference. 

The application compiled well no errors, but when I connect to it by using nrf connect it is not displaying "DFU" on top.

Is there anything else I need to do to integrate DFU in "ble_app_uart"?

Could anybody help in solving this? I need it specially for sdk v10.0.0.

Thanks in advance.

Parents
  • Hi, 


    Could you post a screenshot of what you have inside nRFConnect after it discovers the services ? 

    When you add the dfu service into your application, please make sure you have all the API calls to add service and characteristic return NRF_SUCCESS and that you have increased the number of VS_UUID in your application. 

  • Hi Hung BUi,

    Thanks for the reply, I forgot to define BLE_DFU_APP_SUPPORT.

    Now I included it and when I connect to Nordic_UART, DFU is displayed on the top of nrf connect application.

    But when i am pressing DFU and trying to update the test image "dfu_test_app_hrm_s110" it is not uploading showing the error "DFU DEVICE IS DISCONNECTED" after some time in nrf connect application.

    One more thing I want to know is, is there any particular procedure to create "dfu.zip" for an application "particularly for sdk v 10.0.0".

Reply
  • Hi Hung BUi,

    Thanks for the reply, I forgot to define BLE_DFU_APP_SUPPORT.

    Now I included it and when I connect to Nordic_UART, DFU is displayed on the top of nrf connect application.

    But when i am pressing DFU and trying to update the test image "dfu_test_app_hrm_s110" it is not uploading showing the error "DFU DEVICE IS DISCONNECTED" after some time in nrf connect application.

    One more thing I want to know is, is there any particular procedure to create "dfu.zip" for an application "particularly for sdk v 10.0.0".

Children
Related