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

◆ lte_lc_cellular_profile_configure()

int lte_lc_cellular_profile_configure ( struct lte_lc_cellular_profile * profile)

#include <include/modem/lte_lc.h>

Configure a cellular profile.

The cellular profile to be used for a specific access technology is decided by the modem. The active cellular profile is reported in the LTE_LC_EVT_CELLULAR_PROFILE_ACTIVE event if an event handler is registered.

Note
Requires CONFIG_LTE_LC_CELLULAR_PROFILE_MODULE to be enabled.
A cellular profile can only be configured when the modem is in functional mode LTE_LC_FUNC_MODE_POWER_OFF or LTE_LC_FUNC_MODE_OFFLINE.
Parameters
[in]profileThe cellular profile to set.
Return values
0on success, otherwise negative error code.