Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Sending raw data through UART using NRF_LOG

Hello,

For my project I need to send raw data (without prefix or timestamps)  along with system logs trough the same UART.

So far one possible solution is to use  NRF_LOG_RAW_INFO, e.g.:

		NRF_LOG_RAW_INFO("%c",0x61); // prints the ascii code of 'a'
		NRF_LOG_RAW_INFO("%c",0x62); // prints the ascii code of 'b'

The question is whether this will be efficient enough and is there any better way to accomplish the result.

Parents Reply Children
No Data
Related