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

◆ nrf_profiler_log_send()

void nrf_profiler_log_send ( struct log_event_buf buf,
uint16_t  event_type_id 
)

#include <include/nrf_profiler.h>

Send data from the buffer to the host.

This function only sends data that is already stored in the buffer. Use nrf_profiler_log_encode_uint32, nrf_profiler_log_encode_int32, nrf_profiler_log_encode_uint16, nrf_profiler_log_encode_int16, nrf_profiler_log_encode_uint8, nrf_profiler_log_encode_int8, nrf_profiler_log_encode_string or nrf_profiler_log_add_mem_address to add data to the buffer.

Parameters
event_type_idEvent type ID as assigned to the event type when it is registered.
bufPointer to the data buffer.