nRF Connect SDK API 0.1.0
|
Enumerations | |
enum | nrf_modem_lib_trace_level { NRF_MODEM_LIB_TRACE_LEVEL_OFF = 0 , NRF_MODEM_LIB_TRACE_LEVEL_COREDUMP_ONLY = 1 , NRF_MODEM_LIB_TRACE_LEVEL_FULL = 2 , NRF_MODEM_LIB_TRACE_LEVEL_IP_ONLY = 4 , NRF_MODEM_LIB_TRACE_LEVEL_LTE_AND_IP = 5 } |
Trace level. More... | |
enum | nrf_modem_lib_trace_event { NRF_MODEM_LIB_TRACE_EVT_FULL = -ENOSPC } |
Trace event. More... | |
Functions | |
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. | |
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. | |
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. | |
int | nrf_modem_lib_trace_clear (void) |
Clear captured trace data. | |
uint32_t | nrf_modem_lib_trace_backend_bitrate_get (void) |
Get the last measured rolling average bitrate of the trace backend. | |