nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_modem_gnss_nv_data_delete()

int32_t nrf_modem_gnss_nv_data_delete ( uint32_t delete_mask)

#include <nrf_modem/include/nrf_modem_gnss.h>

Deletes GNSS data from non-volatile memory.

This function is used to delete downloaded data objects stored in non-volatile memory. The GNSS module stores this between sessions to get a fix faster on the next startup. This can for instance be used to trigger cold or warm starts.

Note
This is considered a debug feature, and is not supposed to be used in production code.
Parameters
[in]delete_maskObjects to be deleted as a bitmask, see Delete bitmask values.
Return values
0on success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EACCESGNSS is not enabled in system or functional mode.
-NRF_EINVALThe GNSS stack returned an error or the operation cannot be executed while GNSS is running.
-NRF_ENOMEMThere is not enough shared memory for this request.
-NRF_ESHUTDOWNThe modem was shut down.