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

◆ lte_lc_system_mode_set()

int lte_lc_system_mode_set ( enum lte_lc_system_mode mode,
enum lte_lc_system_mode_preference preference )

#include <include/modem/lte_lc.h>

Set the modem's system mode and LTE preference.

Parameters
[in]modeSystem mode.
[in]preferenceSystem mode preference.
Note
Requires CONFIG_LTE_LC_SYSTEM_MODE_MODULE to be enabled.
Return values
0if successful.
-EINVALif input argument was invalid.
-EFAULTif the network registration could not be retrieved from the modem.