The set command sets the functional mode to Minimum functionality, 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.
Setting the device to Minimum functionality or Offline mode might take some time if signaling with the network is needed.
+CFUN=<fun>- +CME ERROR code
- 60 – System error. Hardware variant does not support the requested mode.
The set command parameter and its defined values are the following:
- <fun>
- 0 – Sets the device to minimum functionality. Disables both transmit and receive RF
circuits and deactivates LTE and GNSS services.Note: A configuration made with an AT command can be stored to Non-volatile Memory (NVM) using
+CFUN=0if 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=0resets unsolicited notification requests.When setting the device to Minimum functionality mode, wait for OK to make sure that NVM has been updated.
CAUTION:+CFUN=0causes 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=41is allowed only when LTE-M or Narrowband Internet of Things (NB-IoT) is enabled by %XSYSTEMMODE.- UICC initialization is started in modes
+CFUN=1,+CFUN=21, and+CFUN=41. %XSIM indications shall be followed for the UICC state. - Transition from modes
+CFUN=1and+CFUN=21to mode+CFUN=2is not supported. - The response for
+CFUN=40isERRORif the modem has been activated with+CFUN=1or+CFUN=21.
The following command example activates the modem Normal mode:
AT+CFUN=1
OK