Multitech MTCMR-H User's Guide Page 86

  • Download
  • Add to my manuals
  • Print
  • Page
    / 147
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 85
Chapter 3 – Supported GSM/WCDMA AT Commands
High Speed HSPA-H4 AT Commands Reference Guide (Document S000483A) 86
+CFUN Set Phone Functionality
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 or AT+CFUN=1,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 (or AT+CFUN=1,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.
The AT+CFUN=1,0 command set the MT full functionality without reset. If the command can
be used after a AT+CFUN=0, AT+CPOF or AT+CFUN=4, else a +CME ERROR: 3 is
returned. The RF and SIM are accessible.
The AT+CFUN=4 command stops the RF (performs an IMSI DETACH if the modem is
registered) and keeps access to the SIM. All AT commands related to SIM access are
allowed.
After performing a Power-OFF using +CPOF or AT+CFUN=0 command, the AT+CFUN=4
command returns +CME ERROR: 3.
If entries are written in the phonebook (+CPBW) and if the product is reset directly before
+CPBW response (AT+CFUN=1 or AT+CFUN=1,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 (or AT+CFUN=1,1) command.
Normally, when using UART1 or UART2 to manage the modem, the OK response is sent to
the application after the wireless modem reset.
Caution:
When using the emulated serial port, the OK response is not provided. In addition, the
modem 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.
Syntax:
Command Responses
Action Command:
AT+CFUN=<fun> [,<rst>]
OK
Read Command:
AT+CFUN?
+CFUN: <fun>
OK
Test Command:
AT+CFUN=?
+CFUN: (list of supported
<fun>s),
(list of supported <rst>s)
Values: <fun> Functionality Level
0 Set minimum funtionality; IMSI detach procedure and SIM stop
1 Set the full functionality mode with a complete software reset
<rst> Reset (only for <fun>=1)
0 Do not reset the modem before setting it to full functionality power level
1 Reset the modem before setting it to full functionality power level. Default
Page view 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 146 147

Comments to this Manuals

No comments