7#ifndef NRF_MODEM_LIB_TRACE_H__
8#define NRF_MODEM_LIB_TRACE_H__
10#include <zephyr/kernel.h>
106#if defined(CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_BITRATE) || defined(__DOXYGEN__)
uint32_t nrf_modem_lib_trace_backend_bitrate_get(void)
Get the last measured rolling average bitrate of the trace backend.
nrf_modem_lib_trace_level
Trace level.
Definition: nrf_modem_lib_trace.h:27
@ NRF_MODEM_LIB_TRACE_LEVEL_COREDUMP_ONLY
Definition: nrf_modem_lib_trace.h:29
@ NRF_MODEM_LIB_TRACE_LEVEL_OFF
Definition: nrf_modem_lib_trace.h:28
@ NRF_MODEM_LIB_TRACE_LEVEL_LTE_AND_IP
Definition: nrf_modem_lib_trace.h:32
@ NRF_MODEM_LIB_TRACE_LEVEL_IP_ONLY
Definition: nrf_modem_lib_trace.h:31
@ NRF_MODEM_LIB_TRACE_LEVEL_FULL
Definition: nrf_modem_lib_trace.h:30
int nrf_modem_lib_trace_processing_done_wait(k_timeout_t timeout)
Wait for trace to have finished processing after coredump or shutdown.
int nrf_modem_lib_trace_level_set(enum nrf_modem_lib_trace_level trace_level)
Set trace level.
int nrf_modem_lib_trace_clear(void)
Clear captured trace data.
size_t nrf_modem_lib_trace_data_size(void)
Get the number of bytes stored in the compile-time selected trace backend.
int nrf_modem_lib_trace_read(uint8_t *buf, size_t len)
Read trace data.
void nrf_modem_lib_trace_callback(enum nrf_modem_lib_trace_event evt)
Trace callback that is called by the trace library when an event occour.
nrf_modem_lib_trace_event
Trace event.
Definition: nrf_modem_lib_trace.h:36
@ NRF_MODEM_LIB_TRACE_EVT_FULL
Definition: nrf_modem_lib_trace.h:37