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

Data in binary format over UART

Hello. How can I send binary data (in order to not convert it to ASCII string) over UART?

I have sensor data (obtained over BLE). Every measurement is 13 bytes, sample frequency is 2kHz. I need to save it on PC. I decide to work over UART. So if I convert it in normal readable data with float point, then convert to string and then send over UART with 2kHz frequency it will be to fast for max possible uart speed of my nrf52832.
Thats way I want to send it in binary format. How can I do it?
Thanks in advance

Parents Reply Children
Related