Hello,
I am using a nRF52840 dongle to communicate between a laptop running Ubuntu and a phone running Android.
Right now I set up a UART-BLE communication using an adapted version of the usbd_ble_uart example from the Nordic nRF5_SDK:
- A small C script sends data from the laptop to the dongle via serial port communication.
- The dongle sends the data to the phone via BLE.
- The data is received on the phone using one of the many UART app that are availabe on the Play Store (I like Bluefruit Connect for example).
- The same works the other way too (from phone to laptop).
I have 2 questions about this:
1. Is UART the best way to exploit the full bandwith of the nRF52840 dongle or is there maybe a better way to send data between those two devices? I need it to be BLE between the dongle and the phone though.
2. Is it also possible to send/receive images with UART? Until now I have only successfully sent text. (When I tried to send images, I got a chain of characters as output.)
Thank you for your help.