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

NRF52840 File Transfer via BLE

We are trying to do some file transfer operations on BLE, we have log files of 50kb ~ 100kb in sd card module already working/interfaced with nrf52840 MCU, SDK 15.2

Is it possible to transfer .csv/.txt files via BLE in nrf52840 MCU?

Parents Reply
  • Hi Vishal

    The ble_app_uart example in the nRF5 SDK is an example of a proprietary service. It essentially sets up two characteristics, one for client to server communication and one for server to client communication. 

    In the standard example it is used to send text strings, but since it is only sending byte arrays you can transmit any kind of data over this service. 

    If you want an example with a corresponding Android app you might be better of using the ble_app_blinky example. 
    This example is very similar to the ble_app_uart example, the main difference is it only sends LED and button data, and as such only uses 1 byte for each characteristic (this you can change if you want). 

    The source code for the Android blinky application can be found here:
    https://github.com/NordicSemiconductor/Android-nRF-Blinky

    Best regards
    Torbjørn

Children
No Data
Related