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

◆ peek_at

int(* nrf_modem_lib_trace_backend::peek_at) (size_t offset, void *buf, size_t len)

Peek trace data at a byte offset without consuming it.

Copy up to len bytes starting at offset from the beginning of the currently available trace data into buf. The oldest available byte is at offset 0.

Note
Set to NULL if this operation is not supported by the trace backend.
Parameters
offsetStart offset from the oldest available byte.
bufOutput buffer.
lenSize of output buffer.
Returns
Number of bytes copied on success, negative errno on failure.