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

◆ lte_lc_data_profile_set()

int lte_lc_data_profile_set ( enum lte_lc_data_profile profile)

#include <lte_lc.h>

Set the data profile.

The data profile controls the periodic search pattern and UICC deactivation during eDRX. See "nRF91 AT Commands - Command Reference Guide" for more information.

A periodic search configuration set using lte_lc_periodic_search_set overrides the search defaults of the profile.

The modem stores the profile to NVM about every 48 hours and when the functional mode is set to LTE_LC_FUNC_MODE_POWER_OFF. An active XPOFWARN warning blocks the storing.

Note
Consider UICC NVM wear when setting the data profile. On the nRF91x1, UICCPOWERSAVE can overrule the conditions for deactivating the UICC.
Requires CONFIG_LTE_LC_DATA_PROFILE_MODULE to be enabled.
Parameters
[in]profileData profile.
Return values
0if the data profile was successfully sent to the modem.
-EINVALif the data profile was invalid.
-EFAULTif an AT command could not be sent to the modem.
-EBADMSGif the modem responded with an error to an AT command.