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

◆ nrf_modem_lib_trace_clear()

int nrf_modem_lib_trace_clear ( void  )

#include <include/modem/nrf_modem_lib_trace.h>

Clear captured trace data.

Clear all captured trace data and prepare for capturing new traces.

Note
This operation is only supported with some trace backends. If not supported, the function returns -ENOTSUP.
Returns
0 on success, negative errno on failure.