The set command sets the functional mode to Minimum (Power OFF), Normal, or Offline mode (Flight mode). There is a specific mode for Flight mode with Universal Integrated Circuit Card (UICC) on. It is also possible to activate or deactivate LTE or Global Navigation Satellite System (GNSS) separately.
%XSYSTEMMODE should be
used for enabling system modes. It is possible to activate enabled modes. The response to
activating a +CFUN mode is ERROR
if
%XSYSTEMMODE is not properly set.
The response to changing to Normal mode can be ERROR
if UICC activation
has failed.
Commanding the device to Power OFF or to Offline mode might take some time if signaling with the network is needed.
+CFUN=<fun>
The set command parameter and its defined values are the following:
+CFUN=0
if the option is mentioned in the description of the
command. This is useful if the command relates to a permanent hardware configuration
because it avoids the need to give the command every time in the beginning of the
application.Active %XPOFWARN warning blocks the storing to NVM.v1.3.x≥2
+CFUN=0
resets unsolicited notification
requests.
When commanding the device to power off, wait for OK to make sure that NVM has been updated.
CFUN=0
causes writing to NVM.
When using CFUN=0
, take NVM wear into account.If LTE is enabled with %XSYSTEMMODE, registration is performed to LTE
network with CFUN=1
and CFUN=21
. If GNSS is enabled with
%XSYSTEMMODE, GNSS is activated and GNSS services are available with
CFUN=1
, CFUN=2
, and CFUN=31
.
CFUN=41
is allowed only when LTE-M or
Narrowband Internet of Things (NB-IoT) is enabled by
%XSYSTEMMODE.CFUN=1
,
CFUN=21
, and CFUN=41
. %XSIM indications shall
be followed for the UICC state.CFUN=1
and CFUN=21
to mode
CFUN=2
is not supported.CFUN=40
is ERROR
if the modem has
been activated with CFUN=1
or CFUN=21
.The following command example activates the modem Normal mode:
AT+CFUN=1
OK