![]() |
nrfxlib API 3.3.99
|
| 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.
| [in] | req | PRS configure request parameters. |
| 0 | on success. |
| -NRF_EPERM | The Modem library is not initialized. |
| -NRF_EBADMSG | The modem responded with wrong response. |
| -NRF_EFAULT | Input parameter is NULL. |
| -NRF_ENOMEM | There is not enough shared memory for this request. |
| -NRF_ESHUTDOWN | The modem was shut down. |
| NRF_MODEM_RS_CAPTURE_STATUS_NOT_ACTIVE | Session not active. |
| NRF_MODEM_RS_CAPTURE_STATUS_NOT_SUPPORTED | Parameter values not supported. |