nrfxlib API 3.3.99
Loading...
Searching...
No Matches
nrf_modem_rs_capture.h File Reference
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  nrf_modem_rs_capture_session_start_req
 
struct  nrf_modem_rs_capture_session_start_resp
 
struct  nrf_modem_rs_capture_prs_config
 
struct  nrf_modem_rs_capture_prs_sample
 
struct  nrf_modem_rs_capture_cell_status
 
struct  nrf_modem_rs_capture_event_data
 

Macros

#define NRF_MODEM_RS_CAPTURE_MAX_DATA_SAMPLES   1536
 
#define NRF_MODEM_RS_CAPTURE_STATUS_SUCCESS   0x00
 
#define NRF_MODEM_RS_CAPTURE_STATUS_CELL_AVAILABLE   0x00
 
#define NRF_MODEM_RS_CAPTURE_STATUS_NO_MEM   0x01
 
#define NRF_MODEM_RS_CAPTURE_STATUS_NO_CELL   0x03
 
#define NRF_MODEM_RS_CAPTURE_STATUS_NOT_ACTIVE   0x04
 
#define NRF_MODEM_RS_CAPTURE_STATUS_BUSY   0x05
 
#define NRF_MODEM_RS_CAPTURE_STATUS_NOT_SUPPORTED   0x06
 
#define NRF_MODEM_RS_CAPTURE_STATUS_TIMEOUT   0x07
 
#define NRF_MODEM_RS_CAPTURE_STATUS_STOPPED   0x08
 

Typedefs

typedef void(* nrf_modem_rs_capture_event_handler_type_t) (const struct nrf_modem_rs_capture_event_data *event_data)
 Event handler prototype.
 

Enumerations

enum  nrf_modem_rs_capture_event_id { NRF_MODEM_RS_CAPTURE_EVT_PRS_SAMPLE = 1 , NRF_MODEM_RS_CAPTURE_EVT_CELL_STATUS , NRF_MODEM_RS_CAPTURE_EVT_ABORT }
 

Functions

int32_t nrf_modem_rs_capture_version (uint8_t version)
 Version negotiation for the RS capture API.
 
int32_t nrf_modem_rs_capture_session_start (const struct nrf_modem_rs_capture_session_start_req *req, struct nrf_modem_rs_capture_session_start_resp *resp, nrf_modem_rs_capture_event_handler_type_t callback)
 Starts RS capture session.
 
int32_t nrf_modem_rs_capture_session_stop (void)
 Stops RS capture.
 
int32_t nrf_modem_rs_capture_prs_configure (const struct nrf_modem_rs_capture_prs_config *req)
 Configure PRS capture.