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

◆ lte_lc_system_mode_get()

int lte_lc_system_mode_get ( enum lte_lc_system_mode * mode,
enum lte_lc_system_mode_preference * preference )

#include <include/modem/lte_lc.h>

Get the modem's system mode and LTE preference.

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