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

nrf51 file transfer

Can nrf51 dk perform file transfer via Bluetooth? Is there an example and an iOS app for it?

Parents
  • Hi John,

    Currently no file transfer example available. However we have DFU (Device Firmware Update) example, where we transfer hex/binary file to the nRF51 and use that file to update the firmware on the nRF51. You can have a look at the nRF Toolbox app.

    Besides , we have the nRFUart app where we tranfer UART data from phone to nRF51 and vice versa. You can modify that app to send your own data, a file content for example.

Reply
  • Hi John,

    Currently no file transfer example available. However we have DFU (Device Firmware Update) example, where we transfer hex/binary file to the nRF51 and use that file to update the firmware on the nRF51. You can have a look at the nRF Toolbox app.

    Besides , we have the nRFUart app where we tranfer UART data from phone to nRF51 and vice versa. You can modify that app to send your own data, a file content for example.

Children
  • Hi Hung, I currently have nrf8001 and nrf51 dk. I don't think nrf8001 supports OTA DFU and also nrf51 dk doesn't work with Arduino since my project is based on it. Using nrf8001, I tried sending a file content through BLE UART but the buffer size is just 20 bytes so it limits the speed of transfer.

  • Hi John,

    • The nRF8001 is only a transceiver chip, so it's not possible to update it. But you can use the nRF8001 to receive firmware for the controller MCU. Of course you will then have to implement the bootloader on the controller MCU.

    • The nRF51 DK is hardware compatible with Arduino, but it won't run Arduino code, you can communicate with Arduino using other protocol such as I2C, SPI, UART , etc.

    • The payload size of a packet limited to 20byte is the limit of the size of the over the air packet (MTU). It's not possible to change it for now. The maximum bandwidth you can achive with the nRF51 is 128kbps when you have 7.5ms connection interval, 6 packet per connection interval. Not all phones now support this high bandwidth anyway.

  • The ble-optiboot project for nRF8001 supports the application mcu bootloading for ATmega328p over BTLE.

Related