Ble 5 send large data

Hello,

I am using nrf52840 and i am wondering which option will be the best for my project. I need to send about 5 - 10 kB data using bluetooth. Please, correct me if i am wrong.

Questions:

1) What is the maximum size of data which can i send using beacon like in the ble_app_beacon example? Is it 31 bytes or can i increase it to 251 (from bluetooth 5.x)?

If yes what should i change in example to allow bigger package send? How to queue the sending of data packages?

How to send few kilobytes of data using beacon? Or maybe there is better solution for example using connection mode?

Thanks for help!

Parents
  • Hi

    As I suggested initially, I'd use the object transfer service to transmit multiple kB of data, or alternatively our throughput sample to transmit a lot of data at the same time. You can use the Image transfer demo we made here for reference that continuously transmits data from an nRF52 to an Android device.

    If the throughput doesn't matter, you can use the Nordic UART service as well, but the buffer size will need to be increased to fit 5kB I believe, but this is not what the Nordic UART service is designed for.

    Best regards,

    Simon

Reply
  • Hi

    As I suggested initially, I'd use the object transfer service to transmit multiple kB of data, or alternatively our throughput sample to transmit a lot of data at the same time. You can use the Image transfer demo we made here for reference that continuously transmits data from an nRF52 to an Android device.

    If the throughput doesn't matter, you can use the Nordic UART service as well, but the buffer size will need to be increased to fit 5kB I believe, but this is not what the Nordic UART service is designed for.

    Best regards,

    Simon

Children
No Data
Related