nRF Connect SDK API 0.1.0
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.
Return values
0if successful.
-EINVALif input argument was invalid.
-EFAULTif the network registration could not be retrieved from the modem.