nrfxlib API 0.1.0
Loading...
Searching...
No Matches
nrf_modem_trace.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
14#ifndef NRF_MODEM_TRACE_H__
15#define NRF_MODEM_TRACE_H__
16
17#include <stddef.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
27 const void *data;
28 size_t len;
29};
30
51int nrf_modem_trace_get(struct nrf_modem_trace_data **frags, size_t *n_frags, int timeout);
52
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* NRF_MODEM_TRACE_H__ */
int nrf_modem_trace_processed(size_t len)
Notify the Modem library that the application has completed processing of trace data.
int nrf_modem_trace_get(struct nrf_modem_trace_data **frags, size_t *n_frags, int timeout)
Get trace data.
const void * data
Definition: nrf_modem_trace.h:27
size_t len
Definition: nrf_modem_trace.h:28
Trace data Structure to store trace data pointers and their respective sizes.
Definition: nrf_modem_trace.h:26