pub unsafe extern "C" fn nrf_modem_gnss_nv_data_delete(
    delete_mask: u32
) -> i32
Expand description

Deletes GNSS data from non-volatile memory.

@details 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.

  • delete_mask - Objects to be deleted as a bitmask, see @ref nrf_modem_gnss_delete_bitmask.

Returns 0 on success. Returns -NRF_EPERM The Modem library is not initialized. Returns -NRF_EACCES GNSS is not enabled in system or functional mode. Returns -NRF_EINVAL The GNSS stack returned an error or the operation cannot be executed while GNSS is running. Returns -NRF_ENOMEM There is not enough shared memory for this request. Returns -NRF_ESHUTDOWN The modem was shut down.