Set phone functionality +cfun, Global configuration commands, 10 set phone functionality +cfun – Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual
Page 90
Global Configuration Commands
Set Phone Functionality +CFUN
©Restricted
Page:
84 / 184
This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.
WM_DEV_OAT_UGD_049 - 001
VOLUME 1
August 23, 2007
6.10
Set Phone Functionality +CFUN
6.10.1 Description
This command selects the functionality level for the mobile station.
When the application wants to stop the product with a power off, or if the application
wants to force the product to execute an IMSI DETACH procedure, then it must send:
AT+CFUN=0 (equivalent to +CPOF).
This command executes an IMSI DETACH and makes a backup copy of some internal
parameters in SIM and in EEPROM. The SIM card cannot be accessed.
If the mobile equipment is not powered off by the application after this command has
been sent, a re-start command (AT+CFUN=1) will have to be issued to restart the
GSM registration process.
If the mobile equipment is turned off after this command, then a power on will restart
the GSM registration process.
The AT+CFUN=1 command restarts the entire GSM stack and GSM functionality: a
complete software reset is performed. All parameters are reset to their previous
values if AT&W was not used.
If entries are written in the phonebook (+CPBW) and if the product is reset directly
before +CPBW response (AT+CFUN=1, with no previous AT+CFUN=0 command),
some entries may be lost (the SIM task does not have enough time to write entries in
the SIM card).
In addition, the OK response will be sent at the last saved (AT&W) baud rate defined
by the +IPR command. With the autobauding mode, the response can be sent at a
different baud rate, it is therefore preferable to save the defined baud rate with AT&W
before sending the AT+CFUN=1 command.
Normally, when using UART1 or UART2 to manage the Wireless CPU
®
, the OK
response is sent to the application after the Wireless CPU
®
reset.
Caution:
When using the emulated serial port, the OK response is not provided. In addition,
the Wireless CPU
®
reset will cause the USB stack to stop. From the host’s point of
view, it is similar to a USB cable disconnection. As a consequence, the host will
uninstall the Wavecom USB driver and the application will reference a non valid
driver.