nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_profiler_log_encode_string()

void nrf_profiler_log_encode_string ( struct log_event_buf buf,
const char *  string 
)

#include <include/nrf_profiler.h>

Encode and add string to a buffer.

Maximum 255 characters can be sent (the rest is omitted).

Note
The buffer must be initialized with nrf_profiler_log_start before calling this function.
Parameters
bufPointer to the data buffer.
stringString to add to the buffer.