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

◆ read

int(* nrf_modem_lib_trace_backend::read) (void *buf, size_t len)

Read trace data from the compile-time selected trace backend.

Read out the trace data from the trace backend. After read, the backend can free the space and prepare it for further write operations.

Note
Set to NULL if this operation is not supported by the trace backend.
Parameters
bufOutput buffer
lenSize of output buffer
Returns
0 on success, negative errno on failure.