nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_modem_rs_capture_prs_configure()

int32_t nrf_modem_rs_capture_prs_configure ( const struct nrf_modem_rs_capture_prs_config * req)

#include <nrf_modem/include/nrf_modem_rs_capture.h>

Configure PRS capture.

This function can be used to start PRS sampling, or reconfigure an ongoing sampling.

Given configuration is applied immediately and index variable in nrf_modem_rs_capture_prs_sample indicates when exactly this happened.

Parameters
[in]reqPRS configure request parameters.
Return values
0on success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EBADMSGThe modem responded with wrong response.
-NRF_EFAULTInput parameter is NULL.
-NRF_ENOMEMThere is not enough shared memory for this request.
-NRF_ESHUTDOWNThe modem was shut down.
NRF_MODEM_RS_CAPTURE_STATUS_NOT_ACTIVESession not active.
NRF_MODEM_RS_CAPTURE_STATUS_NOT_SUPPORTEDParameter values not supported.