nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ lte_lc_band_lock_remove()

int lte_lc_band_lock_remove ( void )

#include <lte_lc.h>

Remove the permanent and runtime band locks.

The stored runtime band lock is also removed, including the bands set using CONFIG_LTE_LOCK_BAND_MASK and CONFIG_LTE_LOCK_BAND_LIST. These bands are not set again until the device is rebooted.

Note
Requires CONFIG_LTE_LC_BAND_LOCK_MODULE to be enabled.
The modem library must be initialized, and the band locks can only be removed when the modem is offline or powered off.
Return values
0if successful.
-EPERMif the modem library is not initialized.
-EBUSYif the modem is active.
-EFAULTif AT command failed.
-EBADMSGif the modem responded with an error to the AT command.