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

Wireless Printf using BLE UART

We are developing a custom ble service and profile however having printf makes our lives that much easier so we are trying to incorporate it purely for testing purposes.

The idea is to send debug messages to an Android device via the nRF UART App. I am using pure-gcc, Linux/Eclipse, and a custom PCB without UART-USB capability.

I noticed there is a printf-gcc which works with the over wire UART on the evaluation boards. Is there an example of how to do something similar with the BLE UART?

Currently what i have working is sending and receiving text strings over UART using a modified ble_app_uart and an the Android UART App. What i cannot figure out is how to utilize all the nice features of printf with UART to print more than just strings. I see there are examples for over the wire UART and printf but not for BLE UART.

Much Thanks!

Nick

Parents Reply Children
No Data
Related