nrfxlib API 2.8.99
|
int32_t nrf_modem_gnss_qzss_prn_mask_set | ( | uint16_t | prn_mask | ) |
#include <nrf_modem/include/nrf_modem_gnss.h>
Sets which QZSS PRNs are enabled.
QZSS satellite acquisition and tracking can be configured per satellite using QZSS PRN mask. Bits 0...9 correspond to QZSS PRNs 193...202, respectively. When a bit is set, usage of the corresponding QZSS satellite is enabled. Bits 10...15 are reserved and their value is ignored.
Default value: All QZSS PRNs (193...202) are enabled.
[in] | prn_mask | QZSS PRN mask. |
0 | on success. |
-NRF_EPERM | The Modem library is not initialized. |
-NRF_EACCES | GNSS is not enabled in system or functional mode. |
-NRF_EINVAL | The GNSS stack returned an error or the operation cannot be executed while GNSS is running. |
-NRF_ENOMEM | There is not enough shared memory for this request. |
-NRF_ESHUTDOWN | The modem was shut down. |