Technical data
WMO2 G900 / G1800 / G1900
WCOM/GSM/WMO2/WMO2ATDOC Friday 21 May 1999
WAVECOM confidential © 26
4.1.11 Set phone functionality +CFUN
This command selects the level of functionality in the mobile station.
Command syntax: AT+CFUN=<L>
Parameters: <L>
id to be set as described below.
When the application wants to stop the module to make a power off, or if
the application wants to force the module to execute an IMSI DETACH
procedure, then it has to send:
AT+CFUN=0 (same as AT+CPOF)
This command executes an IMSI DETACH and makes a backup of some
internal parameters in the SIM and the EEPROM. Then no more access to the
SIM card is possible.
If the mobile is not powered off after this command, it shall received
another command to re-start the whole GSM process.
If the mobile is turned off after this command, then the power on will
automatically execute the start of the whole GSM process.
When the application wants to re-start the module (after having done a
AT+CFUN=0 command, and without having cut the power supply), it has to
send:
AT+CFUN=1
This command starts again all the GSM stack and GSM functionality, a
complete software reset is done. All parameters are reset to their previous E2P
value if AT&W was not used.
If you write entries in phonebook (+CPBW) and then reset the module
directly (AT+CFUN=1, without any AT+CFUN=0 before), some entries may not
be written (SIM task did not have enough time to write the entries in SIM card)
Also, the OK response will be sent at the last defined baud rate defined by
+IPR command. With autobauding the response can be at a different baud rate,
so it is better to save the defined baud rate with AT&W before directly send the
AT+CFUN=1 command.
Example:
Application to GSM AT+CFUN? Ask for current functionality level
GSM to application +CFUN: 1
OK
Full functionality
Application to GSM AT+CFUN=0 Set minimum functionality, IMSI
detach procedure
GSM to application OK Command valid
Application to GSM AT+CFUN=1 Set the full functionality mode
with a complete software reset
GSM to application OK Command valid