![]() |
nRF Connect SDK API 3.4.99
|
| 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.
| [in] | profile | Data profile. |
| 0 | if the data profile was successfully sent to the modem. |
| -EINVAL | if the data profile was invalid. |
| -EFAULT | if an AT command could not be sent to the modem. |
| -EBADMSG | if the modem responded with an error to an AT command. |