Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

File transfer in nRF 52840

Hi Nordic,

We are using nRF 52840 DK and SDK version is:  nRF5_SDK_17.1.0_ddde560.

s140 Soft device.

My question is, How to transfer files through BLE in nrf52840 DK? 

Is there any example code for that in SDK?...…If no, then how to do it?

Could anyone help in this?

Thanks in advance.

Regards,

Hareesh Gorle.

Parents Reply
  • Hi Hareesh, 
    I would suggest you to test with the \examples\ble_peripheral\ble_app_uart example. 
    What you need to get familiar with is how to define your vendor specific service/characteristic. Then on how to send data using the characteristic. How you can split the file into small chunks and send it over BLE and the gather the chunks on the other side and store it back as a file (into flash I assume). 


    The next step is to improve the throughput. But you should only look into that after you managed to read the file, send the file via ble  ( using NUS service) then receive it on the other side and then store the file to flash chunk by chunk.

Children
No Data
Related