Modem at Commands Calamp
Modem at Commands Calamp
REVISION HISTORY
Rev00 Rev01
10/2009 11/2011
TABLE OF CONTENTS
SECTION 1 - PREFACE ...........................................................................................5 Copyright Notice ...................................................................................................5 Modem Use ..........................................................................................................5 Interference Issues ...............................................................................................5 Mobile Application Safety .......................................................................................6 Related Documents ...............................................................................................6 SECTION 2 - ABBREVIATIONS ................................................................................7 SECTION 3 - PRODUCT OVERVIEW ..........................................................................8 Module Identification .............................................................................................8 General Description ..............................................................................................8 Features and Benefits ...........................................................................................8 Catalog Part Number Breakdown ............................................................................8 SMC Module Description ........................................................................................9 Top side reference .............................................................................................9 Bottom side reference ...................................................................................... 10 Pin Descriptions............................................................................................... 11 SECTION 4 - DEVELOPMENT/TEST BOARD INTERFACE ............................................. 12 Development/Test board ..................................................................................... 12 Accessories ..................................................................................................... 13 SECTION 5 - GETTING STARTED USING THE SMC TEST BOARD ................................ 14 Connecting Up the SMC Test Board ....................................................................... 14 HyperTerminal Settings ....................................................................................... 14 Verify SMC Modem Connectivity ........................................................................... 15 Define the Packet Data Protocol (PDP) Context ....................................................... 16 Connect using the Dial-Up-Network Connection ...................................................... 17 SECTION 6 - SIM CARD SPECIFIC INFORMATION .................................................... 20 What to do if PIN or password authentication fails? ................................................. 21 SECTION 7 - CALL SETUP INFORMATION ............................................................... 23 Circuit Switched Data (CSD) ................................................................................ 23 CSD Incoming Calls ......................................................................................... 24 CSD Outgoing Calls .......................................................................................... 24 General Packet Radio Service (GPRS) .................................................................... 25 GPRS Attach/Detach ........................................................................................ 25 Define the GPRS Context .................................................................................. 26 GPRS PDP Context activation/ deactivation ......................................................... 26 GPRS Data Mode ............................................................................................. 26 Short Message Service (SMS) .............................................................................. 27 Initializing SMS ............................................................................................... 27 Writing SMS .................................................................................................... 28 Reading SMS .................................................................................................. 28 Deleting SMS .................................................................................................. 28 Sending SMS .................................................................................................. 28 Receiving SMS ................................................................................................ 28 SMS Status Report .......................................................................................... 28 Internet Services ................................................................................................ 29 Step-by-step instructions on how to configure and use TCP/IP communications: ..... 29 Maximum number of profiles defined / used: ...................................................... 29 SECTION 8 - SMC MODEM MODULE PROFILES ........................................................ 31 SECTION 9 - COMMON AT COMMAND REFERENCE GUIDE ........................................ 32
TABLE OF CONTENTS
SECTION 10 AT COMMAND REFERENCE .............................................................. 34 AT Command Types ............................................................................................ 34 Command Line Syntax ........................................................................................ 34 Result Codes ...................................................................................................... 35 Configuration Commands .................................................................................... 35 Status Control Commands ................................................................................... 37 Serial Interface Control Commands ....................................................................... 38 Security Commands ............................................................................................ 39 Identification Commands ..................................................................................... 40 Call Related Commands ....................................................................................... 40 Network Service Commands ................................................................................ 42 Internal Internet Service Commands ..................................................................... 45 GPRS Commands................................................................................................ 46 Short Message Service (SMS) Commands .............................................................. 49 SIM Related Commands ...................................................................................... 50 Hardware Related Commands .............................................................................. 51 Factory Default AT Command values ..................................................................... 52 SECTION 11 SPECIFICATIONS........................................................................... 54 General Specifications ......................................................................................... 54 Data Transmission Specifications .......................................................................... 55 Mechanical Specifications..................................................................................... 56 SECTION 12 SERVICE AND SUPPORT ................................................................. 57 Product Warranty, RMA and Contact Information .................................................... 57 RMA Request ..................................................................................................... 57 Product Documentation ....................................................................................... 57 Technical Support ............................................................................................... 57 APPENDIX A POWER SUPPLY DESIGN INFORMATION ............................................... 58 Power Supply Issues ........................................................................................... 58 SMC-GPRS Power Supply Requirements ................................................................ 59 APPENDIX B CREATING A DIAL-UP NETWORKING CONNECTION ............................... 61 Windows XP ....................................................................................................... 61 Add Standard Windows Modem ......................................................................... 61 Configuring the Modem .................................................................................... 65 Create a Dial-Up Networking (DUN) Connection................................................... 66 APPENDIX C WARRANTY STATEMENT .................................................................... 73
Modem Use
The SMC-GPRS modem is designed and intended for use in fixed and mobile applications. Fixed assumes the device is physically secured at one location and not easily moved to another location. Please keep the cellular antenna of the SMC-GPRS at a safe distance from your head and body while the modem is in use (see below). Important Maintain a distance of at least 20 cm (8 inches) between the transmitters antenna and any person while in use. This modem is designed for use in applications that observe the 20 cm separation distance.
Interference Issues
Avoid possible radio frequency (RF) interference by following these guidelines: The use of cellular telephones or devices in aircraft is illegal. Use in aircraft may endanger operation and disrupt the cellular network. Failure to observe this restriction may result in suspension or denial of cellular services to the offender, legal action or both. Do not operate in the vicinity of gasoline or diesel-fuel pumps unless use has been approved and authorized. Do not operate in locations where medical equipment that the device could interfere with may be in use. Do not operate in fuel depots, chemical plants, or blasting areas unless use has been approved and authorized. Use care if operating in the vicinity of protected personal medical devices, i.e., hearing aids and pacemakers. Operation in the presence of other electronic equipment may cause interference if equipment is incorrectly protected. Follow recommendations for installation from equipment manufacturers.
001-0004-829 Rev01 Page 5 of 73
Related Documents
[1] Cinterion Wireless Application Developers Guide [2] Cinterion Wireless AT Command Set, TC63i [3] Cinterion Power Supply for Wireless Applications WM_AN24_DevGuide_v07 TC63i_ATC_V01.100 WM_AN26_PwrSupply_v04
SECTION 2 -
ABBREVIATIONS Description Access Point Name Code Division Multiple Access Circuit Switched Data Clear to Send Data Carrier Detect Data Communication Equipment Data Terminal Equipment Dial-Up Network Enhanced Data rates for Global Evolution General Packet Radio Service Global Positioning System Global System for Mobile communication International Mobile Electronic Identity Light Emitting Diode Mobile Equipment Mobile Station Over the Air Packet Data Protocol Point to Point Protocol Preferred Roaming List Receive Signal Strength Indication Receive Terminal Adapter Terminal Equipment Transmit
Abbreviation APN CDMA CSD CTS DCD DCE DTE DUN EDGE GPRS GPS GSM IMEI LED ME MS OTA PDP PPP PRL RSSI RX TA TE TX
SECTION 3 -
PRODUCT OVERVIEW
Module Identification
Label Information The label contains the CalAmp part number, serial number, FCC ID, and the IMEI number. IMEI: The International Mobile Equipment Identifier of the cellular module in decimal format.
General Description
The LandCell SMC-GPRS embedded wireless modem from CalAmp is a versatile, cost-effective wireless communications device designed for the industry-standard universal socket. Quadband GSM/GPRS offers compatibility with cellular networks around the world. The SMC-GPRS embedded modem is ideal for OEM customers looking to add cellular wireless communications to their products. Applications include: monitoring, metering, diagnostics, security, data collection, and other applications requiring wireless connectivity.
2 1
Fig. 2.1 SMC-GPRS Top Side SMC-GPRS top side components: 1. Power: Green LED indicating cell module power on. 2. DCD: Red LED indicating Data Carrier Detect from cellular network. 3. RF (antenna): MMCX socket, primary antenna connection. 4. SIM: SIM Card Slot (SIM card purchased separately). 5. GSM Cell Module
Fig. 2.2 SMC-GPRS Bottom Side SMC-GPRS bottom side socket pins: 1. VCC/GND pins 2. Reset/GND pins 3. SERIAL pins
Pin Descriptions Pin # 24 26, 41, 63 33 34 35 36 37 38 39 40 61 Pin Name -RESET GND -RTS -RXD -TXD -RI -DSR -CTS -DCD -DTR VCC I/O Type Input Description This signal is used to force a reset procedure by providing a low level for at least 10 ms. Data stored in volatile memory will be lost. This line must be driven by an open drain or open collector. If unused, keep line open. Ground Request to Send. Signal used for hardware flow control Received Data. Line used to send received data and modem responses to the DTE (Data Terminal Equipment) Transmitted Data. Line used to send data and transmit commands from the DTE. Ring Indicator. Output low (ON) indicates the presence of a ring signal. Data Set Ready. Line used to indicate modem status to the DTE. Clear to Send. Line controlled by the modem to indicate whether or not the modem is ready to transmit data. Data Carrier Detect. Line asserted by the DTE to indicate connection status. Data Terminal Ready. Line asserted by the DTE to indicate that it is ready to transmit or receive data. +5 VDC 0.25 VDC
Digital Output Lines: Output High, Min 4.0 V Output Low, Max 0.4 V Digital Line Current Drive: 2.0 mA -RESET Input line: Input Low, Max 0.4 V, internal 22K ohm pull-up to 3.9VDC.
NOTE: VCC is the maximum voltage rating on Serial UART input pins.
SECTION 4 -
Development/Test board The Development/Test board is required to interface the SCM-GPRS modem to a standard RS232 serial connection. The SMC test board also supplies the SMC-GPRS modem with the required +5VDC supply voltage from an externally supplied 10 to 28 VDC power source, +12VDC typical.
9 1
2 4
5 3 6 7 8
Figure 4.1 SMC modem with DK test board SMC-GPRS test board components: 1. 2. 3. 4. 5. 6. 7. 8. 9. SMC-GPRS modem MMCX to SMA RF cable: Provides connection to external antenna. RS-232 Port: Standard D-Sub, 9 pin, female connector. Power Connector: Molex 4-pos 3MM receptacle (lower left: GND, lower right: +VDC). Blue LED: Power Indicator Yellow LED: DCD Indicator Green LED: RXD Indicator Red LED: TXD Indicator RESET Switch: Bottom side of DK test board (under far right mounting screw)
Table 4.2 provides the serial cable design information for the SMC-GPRS using the DK test board. Table 4.2 Standard RS-232 DE-9 Pin out
Pin 1 2 3 4 5 6 7 8 9 Name CD RX TX DTR GND DSR RTS CTS RI Direction Description Carrier Detect Receive Data Transmit Data Data Terminal Ready System Ground Data Set Ready Request to Send Clear to Send Ring Indicator DTE relative DCE.
Note: Direction is
Accessories
Antenna
MMCX to SMA cable 110 VAC input DC Power Cable Serial Cable
The primary antenna connection on the SMC-GPRS is a MMCX connector. Mounting options and cable lengths are users choice and application specific.
SECTION 5 -
This section describes the use of the SMC test board to set up the SMC modem for internet access using HyperTerminal and a dial-up network connection (DUN). Please refer to Appendix B for details on setting up a modem driver for a DUN connection.
HyperTerminal Settings
Open a HyperTerminal session and configure the properties for the COM port used to connect the SMC test board. Set HyperTerminal properties for: Bits per second: 115200 Data bits: 8 Parity: None Stop bits: 1 Flow control: Hardware
Figure 5.2 HyperTerminal screen responses The ATI command prints the cell module product information. If you get an Error or no communication, verify the modem is connected to the proper COM port and powered on. Refer to Figure 5.2 for all the AT commands listed below. Confirm your SIM card is properly installed with the AT^SCID command. A reply of ^SCID:<20 digit CID number> indicates the modem recognizes the SIM card and displays its ID number. Confirm the phone number currently in the modem with the AT+CNUM command. It should be 11 digits i.e. 18052162288. For some carriers the phone number may not display but will respond with OK. If the SIM card is not in the unit or not activated properly, the modem will reply with ERROR. Verify the modems International Mobile Equipment Identity (IMEI) number with the AT+CGSN command. The IMEI is used to identify GSM mobile equipment to the GSM network.
Confirm that the SIMs PIN has been authenticated by the network using the AT+CPIN? command. The reply should read +CPIN: READY. See Section 6 for SIM related information if READY does not display. Verify good signal strength with the AT+CSQ command. A typical reply is +CSQ 25, 99. The first number is signal strength and ranges from 0 to 31 (the higher the number, the stronger the signal).
Figure 5.3 Set PDP Contexts, APN Exit HyperTerminal before attempting to connect using a Dial-Up-Networking connection.
When the connect window appears, set the username and password as defined for your carrier (usually blank). Enter the phone number as *99***1# and click the Dial button.
The modem will attempt to connect to the provider network. If the configured baud rate for the COM port, the modem, and the DUN do not match, the DUN will not be able to talk to the modem properly and you will get a hardware error message. Otherwise the DUN will contact the cellular network and authenticate the user on the network.
Once connected you should be able to browse the internet thorough the DUN session. To confirm this, disable any other network connections you may have running.
Right click on the connected Dial-Up connection icon in the task bar and select the Details tab. The status of the connection will be displayed, including the IP address assigned by the carrier network.
SECTION 6 -
The SIM card can be used to store a Personal Idetification Number (PIN) to authenticate users on the network. The AT+CPIN write command can be used to enter one of the passwords listed below. The read command can be used to check whether or not the ME is waiting for a password, or which type of password is required. This may be for example the SIM PIN1 to register to the GSM network, or the SIM PUK1 to replace a disabled SIM PIN1 with a new one, or the PH-SIM PIN if the client has taken precautions for preventing damage in the event of loss or theft etc. If requested by the ME AT+CPIN may also be used for the SIM PIN2 or SIM PUK2. If no PIN1 request is pending (for example if PIN1 authentication has been done and the same PIN1 is entered again) SMC modem responds "+CME ERROR: operation not allowed"; no further action is required. Each time a password is entered with AT+CPIN the module starts reading data from the SIM. The duration of reading varies with the SIM card. This may cause a delay of several seconds before all commands which need access to SIM data are effective. AT+CPIN=<pin>[, <new pin>] <pin>: Password (string type), usually SIM PIN1. If the requested password was a Pin Unlock Code (PUK), such as SIM PUK1 or PH-FSIM PUK or another password, then <pin> must be followed by <new pin>. <new pin>: If the requested code was a PUK: specify a new password or restore the former disabled password. See section What to do if PIN or password authentication fails? for more information about when you may need to enter the PUK. Successful PIN authentication only confirms that the entered PIN was recognized and correct. The output of the result code OK does not necessarily imply that the mobile is registered to the desired network. Typical example: PIN was entered and accepted with OK, but the ME fails to register to the network. This may be due to missing network coverage, denied network access with currently used SIM card, no valid roaming agreement between home network and currently available operators etc. The SMC modem offers various options to verify the present status of network registration: For example, the AT+COPS command indicates the currently used network. With AT+CREG you can also check the current status and activate an unsolicited result code which appears whenever the status of the network registration changes (e.g. when the ME is powered up, or when the network cell changes). The <pin> and <new pin> can also be entered in quotation marks (e.g. "1234"). To check the number of remaining attempts to enter the passwords use the AT^SPIC command. See AT+CPWD and AT^SPWD for information on passwords. See AT+CLCK and AT^SLCK for information on lock types.
SIM locks: These are factory set locks, such as "PF", "PN", "PU", "PP", "PC". An 8-digit unlocking code is required to operate the mobile with a different SIM card, or to lift the lock. The code can only be obtained from the provider. Failure to enter the password is subject to the same timing algorithm as the Master Phone Code (see Table above). Call barring: Supported modes are "AO", "OI", "OX", "AI", "IR", "AB", "AG", "AC". If the call barring password is entered incorrectly three times, the client will need to contact the service provider to obtain a new one.
SECTION 7 -
This section provides a brief look at setting up variuos call scienerios using the SMC-GPRS modem with the SMC Development/Test board and HyperTerminal. In general, each call scienerio requires a set of initialization commands to set up the SMC modem for the specific call type. See related documents [1] and [2] for more detailed descriptions and examples for all call types. Types of calls: Circuit Switched Data (CSD) General Packet Radio Service (GPRS) Short Message Service (SMS) Internet Services Socket Client & Server for TCP, Client for UDP FTP Client HTTP Client SMTP Client POP3 Client
Select ATV0 to set the short format (numeric code) or ATV1 to set the long format (verbose code) of result codes. In case of using the command without parameter the value will be set to 0. Generally, only AT+CBST=0 (auto bauding) and AT+CBST = 7 (9600 bps, [V.110]) are supported and provide reliable performance. All other settings can be tried, but depending on the network problems may be encountered. Once a data connection is established, the ME first enters the data mode (online mode). With the escape sequence +++ you can switch from data to command mode without dropping the line. The command ATO returns from command to data mode. The escape sequence must be preceded and followed by a pause of at least 1000 ms. The +++ characters must be entered in quick succession, all within 1000 ms. To end a call, the caller or the called party may use the commands ATH or AT+CHUP. The response to ATH and AT+CHUP is OK while the remote party is given NO CARRIER. CSD Incoming Calls Depending on the basic initialization, an incoming CSD call is indicated either by the URC RING (if AT+CRC=0) or the extended URC format +CRING: REL ASYNC (if AT+CRC=1). An incoming data call can be accepted by entering the command ATA or by using the autoanswer mode if enabled with ATS0000. Depending on the module's basic initialization, connection setup is indicated by the result code "CONNECT" (if ATX0) or "CONNECT <text>" (if ATX>0), where <text> gives the transmission speed, for example "CONNECT 9600/RLP". In addiditon, the CONNECT result code may be preceded by the intermediate result code +CR: REL ASYNC if the ME is initialized with AT+CR=1. CSD Outgoing Calls The commands used to dial out are ATD, ATDI and ATDL. Do not attach a semicolon ; at the end of the dial string. Dialing from the phonebooks is not supported for data connections. When dialing a data call number, the following responses can be returned: CONNECT (if ATX0) or CONNECT <text> (if ATX>0) NO CARRIER BUSY NO DIALTONE The response is given when the connection has been set up successfully ("CONNECT"), or when it fails ("NO CARRIER", "BUSY", "NO DIALTONE"). If the module is initialized with AT+CR=1, the additional intermediate result +CR: REL ASYNC appears before the CONNECT result code. When the TA-TE link is reserved (data mode), any URCs, for example an incoming SMS, will be indicated by a BREAK only. The URC itself will be transmitted as soon as the TA-TE link is free again. This means, the URC will be output either when the user switches from data to command mode with +++, or when the line is dropped.
Define the GPRS Context Exact settings of GPRS context and Quality of Service Profiles are provisioned by the network provider and must be requested before defining the GPRS context. Every PDP context has a context identifier <cid>. The context identifiers are numbered sequentially and have to start with value 1. AT+CGDCONT is used to define a context ID and specify the PDP type and Access Point Name (APN). The PDP type describes the protocol to be used between the ME and the network. The APN specifies the gateway between mobile network and the internet. GPRS PDP Context activation/ deactivation The AT+CGACT=<state>,<cid> command activates (state=1) and deactivates (state=0) a specified PDP Context. If a PDP Context is already in the requested state, the state of this context remains unchanged. If the ME is not yet attached to the GPRS service, the attach will be done before the context activation is executed. If no <cid> is specified (e.g. AT+CGACT=1 or AT+CGACT=0), all defined contexts become activated/deactivated. In many networks AT+CGACT=1 does not work any longer. Many networks require user name and password for context activation. However these parameters are only handed to module during the PPP traffic and not by AT command. Since the PPP traffic only starts when entering the data mode, it is necessary to enter data mode before the actual PDP context activation request is sent to the network. Use ATD*99***<cid># to do so. The command AT+CGPADDR=<cid> shows the PDP address, which was assigned to the module during the activation process. The address may be static or dynamic. GPRS Data Mode Use the ATD*99***<cid># command to go into GPRS data mode. The PDP context (parameter <cid>) must be defined before via AT+CGDCONT. If ATD*99***<cid># is entered without specifying a parameter, default parameters will be used. When entering the GPRS data mode, PPP traffic between the module and the application is transferred. Therefore the application must be capable of handling PPP protocol. Entering +++ will switch from data mode or PPP online mode to command mode Entering ATO or AT+CGDATA will switch from command mode to data mode
If you want to receive cell broadcast messages activate the URC presentation for CBS with AT+CNMI and subscribe to a CBS channel with AT+CSCB. The AT^SM20 command specifies different modes of responses returned when sending and writing short messages: AT^SM20=,0 causes the ME return "+CMS ERROR: <err>" when writing or sending of short messages fails. AT^SM20=,1 (factory default) causes the ME to return OK no matter whether or not the SMS command was succesfully executed. Writing SMS AT+CMGF Select SMS message format AT^SMGO Set or query SMS overflow presentation mode or query SMS overflow AT+CSMP Set SMS text mode parameters AT+CMGW Write SMS message to memory Reading SMS AT+CMGL List SMS messages from preferred storage AT^SMGL List SMS messages from preferred storage (does not change status) AT+CMGR Read SMS message AT^SMGR Read SMS message (does not change status) Deleting SMS AT+CMGL List SMS messages from preferred store (optional) AT+CMGD Delete SMS message (mandatory) Sending SMS AT+CMGS Send SMS message AT+CMSS Send SMS message from storage Receiving SMS AT+CMGR Read SMS message AT+CNMA New SMS message acknowledge to ME/TE, only phase 2+ SMS Status Report There are two ways to activate the presentation of status reports: - When using PDU mode, status reports can be enabled with the first octet of the PDU. - When using text mode, you can switch it on with the first parameter (<fo>) of AT+CSMP To be notified when a status report is received, activate the URC presentation with AT+CNMI.
Internet Services
The modem has an embedded TCP/IP stack that is driven by AT commands and enables the host application to easily access the Internet. The advantage of this solution is that it eliminates the need for the application manufacturer to implement their own TCP/IP and PPP stacks, thus minimizing cost and time to integrate Internet connectivity into a new or existing host application. This Section is a reference guide to all the AT commands and responses defined for use with the TCP/IP stack. Access is provided to the following Internet Services: 1. 2. 3. 4. 5. Socket Client and Server for TCP, Client for UDP FTP Client HTTP Client SMTP Client POP3 Client
Step-by-step instructions on how to configure and use TCP/IP communications: First of all, create a connection profile with AT^SICS. The connection profile is a set of basic parameters which determines the type of connection to use for an Internet service. Up to 6 connection profiles can be defined, each identified by the <conProfileId>. Secondly, use AT^SISS to create a service profile based on one of the connection profiles. Up to 10 service profiles can be defined, each identified by the <srvProfileId>. The service profile specifies the type of Internet service to use, i.e. Socket, FTP, HTTP, or one of the email services SMTP or POP3. To assign a connection profile to a service profile, the <conProfileId> of AT^SICS must be entered as "conId" value of the AT^SISS parameter <srvParmTag>. This offers great flexibility to combine connection profiles and service profiles. For example, you may have one connection profile (CSD or GPRS) specified with AT^SICS which can be associated with an SMTP service profile for sending emails and a POP3 service profile for retrieving emails. Once the connection profile and the service profile are created, an Internet session can be opened by entering the AT^SISO write command and the desired <srvProfileId>. Wait for the resulting URC. The next command determines the action to be performed, for example reading data with AT^SISR or writing data with AT^SISW. Wait for the resulting URC. Finally, to end a session, enter the AT^SISC write command and the <srvProfileId>. Maximum number of profiles defined / used: Up to 6 connection profiles can be created (with AT^SICS). Up to 10 service profiles can be created (with AT^SISS), but the number of parallel profiles of the same service type is limited as listed below. If the maximum number of a service profile type is already defined, any attempt to set up another profile for the same type will be denied with "+CME ERROR: unknown". Maximum 3 HTTP profiles Maximum 6 socket profiles: Only 2 instances can be opened for listener, meaning that if 2 listeners are established another 4 instances can be opened for clients. Also, the socket service can accept an incoming connection only when at least one service profile is still free (not yet created with AT^SISS), otherwise the incoming connection will be rejected from the listener. If there is no listener established all 6 socket profiles can be configured as client. 1 FTP profile 1 POP3 profile 1 SMTP profile
001-0004-829 Rev01 Page 29 of 73
The TCP/IP stack of TC63i supports using several service profiles at the same time, provided all of them are running on the same connection profile. For example, it is possible to download files from an FTP server, while sending and receiving emails at the same time. GPRS connections established over the Dial-Up Network do not use the embedded TCP/IP stack of TC63i and can be active at the same time. This allows the user to have two parallel GPRS connections: for example, for sending or receiving emails over a GPRS connection enabled by the TCP/IP stack while, at the same time, surfing the Internet over a Dial-Up Network GPRS connection. Address notation Server addresses must be provided as IP addresses in standard dot-format (e.g. "192.168.1.2") or as server address names resolvable by a DNS server (e.g. "smtp.myserver.de" or "pop3.myserver.de"). Inactivity timeouts Inactivity timeouts are not part of the Internet AT command functionality implemented in the modem and, if desired, are the responsibility of the host application. It is recommended that the host application validates URCs and AT command responses and reacts adequately, for example by sending a close message or starting a timer.
SECTION 8 -
In addition to the default profile, you can store an individual one with AT&W. To alternate between the two profiles enter either ATZ (loads user profile) or AT&F (restores factory profile). NOTE: Every ongoing or incoming call will be terminated. Table 8.1: Profile Commands AT&V Returns the current parameter setting. The configuration varies depending on whether or not PIN authentication has been done. Stores the currently set parameters to a user defined profile in the nonvolatile memory. The user defined profile will be restored automatically after power-up. Use ATZ to restore user profile and AT&F to restore factory settings. Until the first use of AT&W, ATZ works as AT&F. AT&W stores all global settings and the current local settings of the interface, on which the command is executed. Sets all current parameters to the manufacturer defined profile. Refer to Section 8, Table 8.1. Sets all current parameters to the user profile stored with AT&W. If a connection is in progress, it will be terminated.
AT&W
AT&F
ATZ
SECTION 9 -
Below you will find a reference guide of the AT commands most commonly used in day-to-day operation of the modem. Table 9.1: Common AT Commands Command Description Configuration Commands AT&F Set all current parameters to manufacturer defaults AT&V Display current configuration AT&W Stores current configuration to user defined profile Extended Configuration Settings AT^SCFG Example to enable Persistent Context when setting APN: AT^SCFG=GPRS/PersistentContexts, 1 Sets all current parameters to the user profile stored with AT&W. If a connection is ATZ in progress, it will be terminated. Serial Interface Control Commands Set fixed local baud rate The write command specifies the bit rate to be used for the interface. When you AT+IPR set a fixed-rate, make sure that both TE (DTE) and TA (DCE) are configured to the same rate. Example: AT+IPR=19200 sets the modem baud rate to 19200. Security Commands AT+CPIN? PIN Authentication status. Example response; +CPIN: READY Identification Commands Display product identification Example: SIEMENS ATI TC65 REVISION 02.000 Request International Mobile Equipment Identity (IMEI) AT+CGSN This is the module IMEI number located on the top label. Read own numbers AT+CNUM Example response; +CNUM: My Number, 18052054436, 129 Display SIM card identification number AT^SCID Example response; ^SCID: 89014104211640012345 Call Related Commands ATA Answer a Call Mobile originated call to specified number ATD ATD<phone number>; for voice call test. Example: ATD15075551234; ATD<phone number> for data call. Example: ATD15075551234 ATD*99***1# Establish a GPRS connection by service code 99 and using CID 1. ATH Disconnect exsiting connection Switch from command mode (ie AT commands) to data mode/PPP online mode. This command is only available during a CSD call or a GPRS connection. The +++ character sequence causes the TA to cancel the data flow over the AT interface and switch to command mode. This allows you to enter AT commands while ATO maintaining the data connection to the remote device or, accordingly, the GPRS connection. To prevent the +++ escape sequence from being misinterpreted as data, it must be preceded and followed by a pause of at least 1000 ms. The +++ characters must be entered in quick succession, all within 1000 ms. +++ Switch from data mode to command mode
001-0004-829 Rev01 Page 32 of 73
Network Service Commands Signal Quality AT+CSQ Example response; +CSQ: 25,0 has an RSSI of -63 dBm Cell Info Table Example response: GPRS Monitor BCCH G PBCCH PAT MCC MNC NOM TA RAC # Cell # 0637 1 4 234 05 2 00 0B BCCH - ARFCN of BCCH carrier G - GPRS status: 0 GPRS not available in currently used cell 1 GPRS available in currently used cell 2 GPRS attached PBCCH - If PBCCH is present, indication of ARFCN, else ''-'' At^SMONG PAT - Priority Access Threshold (GSM Rec. 04.08 / 10.5.2.37b) 0 Packet access is not allowed in the cell 1 Spare, shall be interpreted as "000" (packet access not allowed) 2 Spare, shall be interpreted as "000" (packet access not allowed) 3 Packet access is allowed for priority level 1 4 Packet access is allowed for priority level 1 to 2 MCC - Mobile Country Code MNC - Mobile Network Code NOM - Network Operation Mode (1...3) TA - Timing Advance Value RAC - Routing Area Code (as hexadecimal value) GPRS Service Commands PDP context activate or dactivate ? - Read command returns the current activation states for all the defined PDP AT+CGACT contexts. =0 Write command is used to deactivate the specified PDP context. =1 - Write command is used to activate the specified PDP context. GPRS attach or detach ? - Read command returns the current GPRS service state. AT+CGATT =0 Write command is used to detach the MT to the GPRS service. =1 - Write command is used to attach the MT to the GPRS service. Enter GPRS data state AT+CGDATA =? - List of supported <L2P>s =<L2P>,<cid>, Example: AT+CGDATA=PPP,1 Define PDP Context =? - Read command returns the current settings for each defined PDP context. AT+CGDCONT =<cid>, IP,<APN>,<PDP Address>,0,<PDP Header Commpression> Example: AT+CGDCONT=1,IP,isp.cingular sets isp.cingular as the APN Show PDP address AT+CGPADDR =<cid>, Example response; +CGPADDR: 1, 15.144.187.50 Miscellaneous Commands A/ Repeat previous command line
AT Command Types
There are several types of AT commands as defined in the following list; Configuration Commands Status Control Commands Serial Interface Control Commands Security Commands Identification Commands Call Related Commands Network Service Commands Internet Service Commands GPRS Commands Short Message Service (SMS) Commands SIM Related Commands Hardware Related Commands The parameters set by the various AT commands in this section are applied to all subsequent calls and will be used each time you place a call. As such, your custom settings (if not saved in a profile) will be available until you power down the modem. These settings are lost upon powerdown if not saved. For further information, refer to the Cinterion TC63i AT Command Set document available from Cinterion.
Commands may be edited using the backspace key, but the backspace will not delete the AT attention command at the beginning of the command line.
Result Codes
After issuing a command, a result code will typically be displayed on the screen to inform you if the command was successful, unsuccessful, improperly formatted, etc. When in the command mode, thirteen possible result codes may be returned. The result codes can be set to display as either digits or words by accessing the Verbose command, ATV. The digit code is returned when the Verbose mode is OFF (ATV0); the word code is returned when Verbose is ON (ATV1). See table 10.2 for more information on Verbose format. Table: 10.2 Result Codes Numeric Verbose 0 OK 1 CONNECT 2 RING 3 NO CARRIER 4 ERROR 6 NO DIALTONE 7 BUSY 47 CONNECT 2400/RLP 48 CONNECT 4800/RLP 49 CONNECT 9600/RLP 50 CONNECT 14400/RLP ALERTING DIALING ^SYSSTART Description Command executed without errors. Link established. Ring detected. Link not established or disconnected. Invalid command or command line too long. No dial tone, dialling impossible, wrong mode. Remote station busy. Link with 2400 bps and Radio Link Protocol. Link with 4800 bps and Radio Link Protocol. Link with 9600 bps and Radio Link Protocol. Link with 14400 bps and Radio Link Protocol. Alerting at called phone Mobile phone is dialing Modem power up indication
Configuration Commands
These commands control the basic configuration of the modem. The parameters can only be read back by the AT&V command when in command state. The following table shows the command format. Table 10.3: Configuration Commands Command Description AT&F Sets all current parameters to the manufacturer defined profile. Returns the current parameter setting. The configuration varies depending on AT&V whether or not PIN authentication has been done and whether or not Multiplex mode is enabled Stores the currently set parameters to a user defined profile in the non-volatile AT&W memory. Set result code presentaion mode: ATQ 0 - DCE transmits result code 1 - Result codes are suppressed and not transmitted This command determines the contents of header and trailer transmitted with AT command result codes and information responses. ATV 0 Numeric Result Code information response 1 Verbose Result Code information response Set CONNECT result code format and call monitoring: 0 - CONNECT result code only returned, dial tone and busy detection are both disabled. ATX 1 - CONNECT <text> result code only returned, dial tone and busy detection are both disabled. 2 - CONNECT <text> result code returned, dial tone detection is enabled, busy detection is disabled.
001-0004-829 Rev01 Page 35 of 73
3 - CONNECT <text> result code returned, dial tone detection is disabled, busy detection is enabled. 4 - CONNECT <text> result code returned, dial tone and busy detection are both enabled. AT\V ATZ Set CONNECT result code format: 0 - CONNECT <text> result code returned without RLP trailer. 1 - CONNECT <text> result code returned with RLP trailer. Sets all current parameters to the user profile stored with AT&W. If a connection is in progress, it will be terminated. Sets phone functionality: AT+CFUN=0 NON-CYCLIC SLEEP mode AT+CFUN=1 Full functionality AT+CFUN=7 CYCLIC SLEEP mode, In this mode, the serial interface is shortly enabled while CTS is active. If characters are recognized on the serial interface, the ME stays active for 2 seconds after the last character was sent or received. ME exits SLEEP mode only, if AT+CFUN=1 is entered. AT+CFUN=9 CYCLIC SLEEP mode, In this mode, the serial interface is shortly enabled while CTS is active. If characters are recognized on the serial interface, the ME stays active after the last character was sent or received for at least the time, which can be configured by AT^SCFG="PowerSaver/Mode9/Timeout",<psm9to> (temporary wakeup). In contrast to SLEEP mode 7 assertion of RTS can also be used to temporarily wake up the ME. AT+CFUN=1,1 will re-start the SMC modem and clear volitile memory. Initiates the power-off procedure. Request complete TA capabilities list. Mobile Equipment Error Message Format: AT+CMEE=0 Disable result code, i.e. only "ERROR" will be displayed. AT+CMEE=1 Enable error result code with numeric values. AT+CMEE=2 Enable error result code with verbose (string) values. Select TE character set: AT+CSCS=GSM GSM default alphabet (GSM 03.38 subclause 6.2.1); Note: This setting may cause software flow control problems since the codes used to stop and resume data flow (XOFF = decimal 19, XON = decimal 17) are interpreted as normal characters. AT+CSCS=UCS2 16-bit universal multiple-octet coded character set (ISO/IEC10646 [32]); UCS2 character strings are converted to hexadecimal numbers from 0000 to FFFF; e.g. "004100620063" equals three 16-bit characters with decimal values 65, 98 and 99, $(AT R97)$ Extended Configuration Settings: The AT^SCFG? read command returns a list of all supported parameters and their current values. The AT^SCFG= write command queries a configuration parameter (if no value is entered) or sets its value(s). Input of parameter names is always coded in GSM character set, parameter values are expected to be given as specified via AT+CSCS. Sets M20 compatibility mode: AT^SM20=<CallMode>, <CmgwMode> 0 - Set compatibility to Siemens mobile phones. 1 - Default mode
AT+CFUN
AT+CSCS
AT^SCFG
AT^SM20
AT+ILRR
AT+IPR
AT^STPB
Set TE-TA local rate reporting: 0 - Disables reporting of local port rate 1 - Enables reporting of local port rate 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200, 230400, 460800 rates supported Set fixed local rate: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200, 230400, 460800 rates supported Transmit Parity Bit (for 7E1 and 7O1 only): 0 - The parity bit will not be transmitted over the air and will be replaced with 0. This mode is the default setting if 7E1 or 7O1 is activated with AT+ICF. 1 - In a data connection 8 bits will be transmitted, including the parity bit, i.e. the parity bit will be properly transmitted over the air. The setting shall be used if problems are encountered when TC65 is running in the default 7E1 or 7O1 mode enabled with AT+ICF. In this case, AT^STPB=1 shall be set in addition to the 7E1 or 7O1 settings selected with AT+ICF.
Security Commands
The AT Commands described in this section allow the external application to determine various security related settings. Table 10.6: Security Commands Command Description PIN Authentication: AT+CPIN? command returns an alphanumeric string indicating whether or not AT+CPIN network authentication is required. AT+CPIN=<pin>,<new pin> command allows the modem to store the entered password. Display PIN counter: AT+SPIC Command used to find out whether the ME is waiting for a password and, if so, how many attempts are left to enter the password. Facility lock: Command can be used to lock, unlock or interrogate a network or ME <facility>. AT+CLCK The command can be aborted when network facilities are being set or interrogated. The facility for the SIM PIN is SC. Change Password: AT+CPWD=<facility>, <old password>, <new password> Command allows user to define a new password for a password protected AT+CPWD <facility> lock function. Each password is a string of digits, the length of which varies with the associated <facility>. The test command returns a list of pairs which represent the available facilities and the maximum length of the associated password. The facility for the SIM PIN is SC.
Identification Commands
The AT Commands described in this section allow the external application to obtain various identification information related to the modem and linked entities. Table 10.7: Identification Commands Command Description The execute command delivers product information text. ATI The 'Revision' information consists of the following parts: Version xx and variant yy of software release. AT+CGMI Request manufacturer identification (GSM 07.07) AT+GMI Request manufacturer identification (V.250) AT+CGMM Request model identification (GSM 07.07) AT+GMM Request model identification (V.250) AT+CGMR Request revision identification of software status (GSM 07.07) AT+GMR Request revision identification of software status (V.250) AT+CGSN Request International Mobile Equipment Identity (IMEI) (GSM 07.07) AT+GSN Request International Mobile Equipment Identity (IMEI) (V.250) AT+CIMI Request International Mobile Subscriber Identity (IMSI) (GSM 07.07)
ATO
+++
AT+CBST
AT+CRLP AT+CLCC
AT+CR
At+CRC
Set number of seconds to wait for connection completion: =000 to 060 Set number of seconds to wait for comma dialing modifier: =0 DCE does not pause when "," encountered in dial string =1 to 255 Number of seconds to pause Set disconnect delay after indicating the absence of data carrier: =001 to 254 Number of tenths of seconds of delay Switch from command mode to data mode / PPP online mode: ATO is the corresponding command to the +++ escape sequence: When you have established a CSD call or a GPRS connection and TA is in command mode, ATO causes the TA to resume the data or GPRS connection and takes you back to data mode or PPP online mode. Switch from data mode to command mode: This command is only available during a CSD call or a GPRS connection. The +++ character sequence causes the TA to cancel the data flow over the AT interface and switch to command mode. This allows you to enter AT commands while maintaining the data connection to the remote device or, accordingly, the GPRS connection. To prevent the +++ escape sequence from being misinterpreted as data, it must be preceded and followed by a pause of at least 1000 ms. The +++ characters must be entered in quick succession, all within 1000 ms. Select bearer service type: AT+CBST=<speed> speed: =1 300 bps (V.21) =2 1200 bps (V.22) =4 2400 bps (V.22bis) =6 4800 bps (V.32) =7 9600 bps (V.32) =14 14400 bps (V.34) =65 300 bps (V.110) =66 1200 bps (V.110) =68 2400 bps (V.110) =70 4800 bps (V.110) =71 9600 bps (V.110) =75 14400 bps (V.110) Select radio link protocol parameters for originated non-transparent data calls. List current calls of ME: The execute command returns a list of current calls of ME. If command is successful, but no calls are available, no information response is sent to TE. Service reporting control: Configures the TA whether or not to transmit an intermediate result code +CR: <serv> to TE when a call is being set up. =0 Disable =1 Enable Setting the value to 1 may lead to connection failure, if the application (e.g. WinFax) waits for default result code/URC. Set Cellular Result Codes for incoming call indication: The command controls whether or not to use the extended format of incoming call indication. =0 Disable extended format =1 Enable extended format Setting the value to 1 may lead to connection failure, if the application (e.g. WinFax) waits for default result code/URC.
001-0004-829 Rev01 Page 41 of 73
AT+CSNS
Single Numbering Scheme: The command enables the ME to accept incoming calls when no bearer capability information is provided with the call, e.g. single numbering scheme calls or calls originitating from analog devices. =0 Voice: Each call received without bearer element is assumed to be speech =2 Fax: Each call received without bearer element is assumed to be an incoming fax. =4 Data: Each call received without bearer element is assumed to be a data call. Please take into account that the bearer service parameters set with AT+CBST applies to all data calls including those received without bearer capability. List Call Number Information: TA returns a list of current calls of ME. Display Last Call Duration: TA returns last call duration or current call duration. Display Total Call Duration: TA returns total call duration (accumulated duration of all calls). Select pulse dialing. Select tone dialing.
AT^SOPS
AT+CREG
AT+CSQ
AT^SMONC
AT^SMOND
AT^MONI
Extended Operator Selection similar to At^COPS. Network registration: The read (?) command serves to verify the network registration status of the ME. 0 - Not registered, ME is currently not searching for new operator and user intervention is required. Yet, emergency calls can be made if any network is available. 1 - Registered to home network 2 - Not registered, but ME is currently searching for a new operator 3 - Registration denied, Either the SIM or the MS or the ME are unable to log into any network. No further attempt is made to search or log into a network. User intervention is required. Emergency calls can be made, if any network is available. 4 - Unknown (not used) 5 - Registered, roaming. The ME is registered at a foreign network (national or international network) The write command is as follows: =0 Disable +CREG Unsolicited Result Codes (URC) =1 Enable URC +CREG:<stat> to report status of network registration =2 Enable URC +CREG:<stat>[,<lac>,<ci>] to report status of network registration including location information. Optional parameters <lac> and <ci> will not be displayed during calls or if these values have not changed since last AT+CREG read command or since last indication by +CREG URC Signal quality: The execute command indicates the received signal strength <rssi> and the channel bit error rate <ber>. rssi: 0 -113 dBm or less 1 -111 dBm 2..30 -109... -53 dBm 31 -51 dBm or greater 99 not known or not detectable ber: 0..7 as RXQUAL values 99 not known or not detectable Cell Monitoring: The execute command delivers cell information containing 9 values from a maximum of 7 base stations. The first base station is the serving cell. Cell Monitoring: The execute command can be used to obtain status information of the service cell and up to six neighbour cells. The advantage over other cell monitoring commands is that AT^SMOND delivers more detailed information about the received signal strength. Monitor idle mode and dedicated mode: The command supplies information of the serving/dedicated cell. There are two ways to retrieve the information: once on request by using the execute command or automatically every <period> seconds by using the write command. To stop the periodic presentation type "AT" or "at". =1 to 254 periods in seconds
AT^MONP
AT^SMONG
AT^SHOM
AT^SPLM
AT+CPOL
AT^SPLR
AT^SPLW
Monitor neighbour cells: The command supplies information of up to six neighbour cells. There are two ways to retrieve the information: once on request by using the execute command or automatically every <period> seconds by using the write command. To stop the periodic presentation type "AT" or "at". =1 to 254 periods in seconds GPRS Monitor: The command supplies GPRS specific cell information. There are two ways to retrieve the information: once on request by using the execute command or automatically every <period> seconds by using the write command. To stop the periodic presentation type "AT" or "at". =1,1 to 100 periods in seconds Display Homezone: The returns the homezone state. The result is valid only, if network registration state <stat> is 1 (registered) (see AT+CREG). 0 - ME is out of Homezone 1 - ME is within the Homezone Read the PLMN list: The execute command returns the list of operators from the ME. Preferred Operator List: The read command returns the list of the preferred operators. The write command allows user to edit the list of the preferred operators. If <index> is given but <operator> is left out, the entry is deleted. An operator can be only once in the list. AT+CPOL=<index>, 2, <operator> index: The order number of the operator in the SIM preferred operator list. operator: Operator in numeric format (GSM Location Area Identification number which consists of a 3-digit country code plus a 2- or 3-digit network code). Read entry from the preferred operators list: The write command returns used entries from the SIM list of preferred operators with <indexa> between <index1> and <index2>. If <index2> is not given, only entry at <index1> is returned. The test command returns the whole index range supported by the SIM. AT^SPLR=<index1>, <index2> index1: Location number to start reading from index2: Location number where to stop reading Write an entry to the preferred operators list: The write command writes an entry to the SIM list of preferred operators at location number <index>. If <index> is given but <oper> is left out, the entry is deleted. An operator can be only once in the list. Test command returns the whole index range supported by the SIM. AT^SPLW=<index>, <oper> index: location number oper: Operator in numeric format (GSM Location Area Identification number which consists of a 3-digit country code plus a 2- or 3-digit network code).
GPRS Commands
This Section describes AT Commands that a TE (Terminal Equipment, e.g. an application running on a controlling PC) may use to control the modem acting as a GPRS Mobile Termination (MT). A brief description of the GPRS commands are provided in Table 10.11. For futher information, refer to the Cinterion TC63i AT Command Set document available from Cinterion [2]. Table 10.11: GPRS Commands Command Description PDP context activate or deactivate: The test command is used for requesting information on the supported PDP context activation states. The read command returns the current activation states for all the defined PDP contexts. The write command is used to activate or deactivate the specified PDP context(s). After the command has completed, the MT remains in V.250 AT+CGACT command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the MT is not GPRS attached when the activation form of the command is executed, the MT first performs a GPRS attach and then attempts to activate the specified contexts. If no <cid>s are specified the activation/deactivation form of the command activates/deactivates all defined contexts. =0 deactivated =1 activated Manual response to a network request for PDP context activation: The write command requests the MT to respond to a network request for GPRS PDP context activation which has been signaled to the TE by the RING or CRING AT+CGANS unsolicited result code. The <response> parameter allows the TE to accept or reject the request. =0 the request is rejected and the MT returns OK to the TE =1 accept and request that the PDP context be activated GPRS attach or detach: The test command is used for requesting information on the supported GPRS service states. The read command returns the current GPRS service state. The write command is used to attach the MT to, or detach the MT from the AT+CGATT GPRS service. After the command has completed, the MT remains in V.250 command state. If the MT is already in the requested state, the command is ignored and the OK response is returned. Any active PDP contexts will be automatically deactivated when the attachment state changes to detached. =0 detached =1 attached
AT+CGAUTO
AT+CGDATA
AT+CGDCONT
Automatic response to a network request for PDP context activation: The test command returns the values of <n> supported by the MT as a compound value. The write command disables or enables an automatic positive response (autoanswer) to the receipt of a Request PDP Context Activation message from the network. It also provides control over the use of the V.250 basic commands ATS0, ATA and ATH for handling network requests for PDP context activation. =0 Disable automatic response for network requests for GPRS PDP context activation. GPRS network requests are manually accepted or rejected by the AT+CGANS command. =1 Enable automatic response for network requests for GPRS PDP context activation. GPRS requests are automatically accepted according to the description below. =3 Modem compatibility mode. The automatic acceptance of both GPRS and incoming CSD calls is controlled by the ATS0 command. Manual control uses the ATA and ATH commands, respectively, to accept or reject GPRS network requests or incoming CSD calls. Enter data state: The test command is used for requesting information on the supported layer 2 protocols to be used between the TE and MT. The write command causes the MT to perform all actions which are necessary to establish communication between the TE and the network using one or more GPRS PDP types. This may include performing a GPRS attach and one or more PDP context activations. Commands following the AT+CGDATA command in the AT command line will not be processed by the MT. =PPP layer 2 protocol PPP supported Define PDP Context: The test command returns supported values as a compound value. The read command returns the current settings for each defined PDP context. The write command specifies the parameters for a PDP context identified by the context identifier <cid>. The number of contexts that may be in a defined state at the same time is given by the range returned by the test command. A special form of the write command (AT+CGDCONT=<cid>) causes the values for context <cid> to become undefined. AT+CGDCONT=<cid>,IP,<APN>,<PDP_addr>,0,<h_comp> cid: PDP Context Identifier, 1 or 2 APN: Access Point Name PDP_addr: Packet Data Protocol address h_comp: 0 - header compression off 1 - header compression on 3G Quality of Service Profile (Minimum acceptable) 3G Quality of Service Profile (Requested) Show PDP address Quality of Service Profile (Minimum acceptable) Quality of Service Profile (Requested)
AT+CGREG
AT+CGSMS
AT^SGACT
AT^SGAUTH
AT^SGCONF
ATA
GPRS network registration status: The read command returns the status of result code presentation and an integer <stat> which shows whether the network has currently indicated the registration of the MT. The write command controls the presentation of an unsolicited result code "+CGREG: <stat>" when <n>=1 and there is a change in the MT's GPRS network registration status. Select service for MO SMS messages: The test command is used for requesting information on which services and service preferences can be set by using the AT+CGSMS write command The read command returns the currently selected service or service preference. The write command is used to specify the service or service preference that the MT will use to send MO SMS messages. If parameter <service> is not given, the current value remains unchanged. =0 GPRS =1 Circuit switched =2 GPRS preferred (use circuit switched SMS transfer if GPRS SMS transfer is not possible, for example when the mobile is not GPRS attached or the network does not support SMS over GPRS) =3 Circuit switched preferred (use GPRS if circuit switched is not available) Query all PDP context activations: The test command returns supported interfaces and states. The read command lists the activation states for all activated PDP contexts of the ME. Contexts, which are created internally by the GPRS modem compatibility commands, will displayed only, if they are activated. The Output of this command is unsorted. The exec command returns the sum of all activated PDP contexts of the ME. Set type of authentication for PPP connection: =0 none =1 PAP =2 CHAP =3 PAP and CHAP Configuration of GPRS related Parameters: AT^SGCONF=<llc_pdu_length_U>,<llc_pdu_length_I>,<GPRS msclass> llc_pdu_length_U: 0 - no negotiation with network (500 will be used) 140...1520 - lower values diminish performance llc_pdu_length_I: 0 - no negotiation with network (500 will be used) 140...1520 - lower values diminish performance GPRS msclass: GPRS Multislot Class. The parameter can be changed only when the MT is detached, otherwise ''CME ERROR: operation temporary not allowed'' will be returned. The value can be one of the classes indicated with the Test command. The value set is volatile and powerup value is the maximum allowed. Manual response to a network request for PDP context activation: The command may be used to accept a network request for a PDP context activation announced by the unsolicited result codes "RING" or "+CRING: GPRS".
Request GPRS or GPRS IP service: This command causes the MT to perform whatever actions are necessary to establish a communication between the TE and the external PDN. Request GPRS service: ATD*99**<L2P>*<cid># L2P: blank non PPP PPP - layer 2 protocol PPP 1 - layer 2 protocol PPP cid: 1 typically, set by AT+CGDCONT command. Request GPRS IP service: ATD*98*<cid># cid: 1 typically, CID defined by AT+CGDCONT command. Manual rejection of a network request for PDP context activation: The command may be used to deactivate all PDP contexts which are active or online on the same interface. Automatic response to a network request for PDP context activation: The Automatic answer command may be used to turn off (n=0) and on (n>0) the automatic response to a network request for a PDP context activation. =000 Disables automatic answer mode. =001-255 Enables automatic answering after specified number of rings.
ATD
ATH
ATS0
Send concatenated SMS messages Write concatenated SMS messages to memory List SMS Memory Storage List SMS messages from preferred store without setting status to REC READ Set or query SMS overflow presentation mode or query SMS overflow Read SMS message without setting status to REC READ SMS Command Configuration Set SMS Display Availability Set Short Message Storage Sequence
Short Message Service (SMS) Commands AT+CMGF <mode>=0 AT+CNMI <mode>=0, <mt>=0, <bm>=0, <ds>=0, <bfr>=1 AT+CSDH <show>=0 AT+CSMP <fo>=17, <vp>=167, <dcs>=0, <pid>=0 AT+CSMS <service>=0 AT^SMGO <n>=0 AT^SSCONF <ra>=0 AT^SSDA <da>=0 AT^SSMSS <seq>=0 SIM related Commands AT^SCKS <mode>=0 AT^SSET <n>=0 Hardware related Commands AT^SCTM <n>=0 AT^SSPI <connectionState>=0, <delayOne>=0, <delayTwo>=0 Miscellaneous Commands ATS3 <n>=013 Command Line termination character ATS4 <n>=010 Response Formatting character ATS5 <n>=008 Command Line Editing character
SECTION 11 - SPECIFICATIONS
Product specifications are subject to change without notice.
General Specifications
Interface Connectors: LED Indicators: Antenna Interface: Size: Weight: Power Input: Maximum TX Power: Rx Sensitivity: Frequencies: Temperature: Operating Humidity Transport Protocols: Command Protocol: Certifications: Universal Socket Connectivity Power & DCD Primary Antenna: MMCX, female, 50 ohms 3.150 x 1.375 x 0.527 in. 0.8 oz. 5VDC 0.25VDC; 400 mA (TX average), 1400 mA (TX burst) GSM/GPRS: +33 dBm min. / +30 dBm min (1900MHz) GSM/GPRS: -108 dBm typical, -102 dBm min. Cellular: PCS: TX: 824-849 MHz Rx: 869-894 MHz TX: 1850-1910 MHz Rx: 1930-1990 MHz
Operating: -30C to +65C 100% Duty Cycle Storage: -40C to +85C 0 85% non-condensing Serial UART data rates from 300 bps to 230.4 kbps Cinterion TC63i AT Command set FCC ID: QIPTC63I Industry Canada ID: 7830A-TC63I PTCRB Approved
NOTE: Power consumption while transmitting is dependent on the TX power level of the cellular module. The TX power level of the module is controlled by the cellular base station.
Mechanical Specifications
The following section describes in detail the exterior dimensions of the SMC-GPRS. All of the drawings below are the approximate actual size. The drawings may be used as layout reference, but it is advised that a physical comparison be made to the modem before proceeding with the mounting process.
SECTION 12 - SERVICE AND SUPPORT Product Warranty, RMA and Contact Information
CalAmp guarantees that every SMC-GPRS Cellular Modem will be free from physical defects in material and workmanship for one (1) year from the date of purchase when used within the limits set forth in the Specifications section of this manual. The manufacturer's warranty statement is available in Appendix 1. If the product proves defective during the warranty period, contact CalAmp Customer Service to obtain a Return Material Authorization (RMA).
RMA Request
Contact Customer Service: CalAmp 299 Johnson Avenue, Ste.110 Waseca, MN 56093 Tel: 507-833-8819 ext. 6707 Fax: 507-833-6748 BE SURE TO HAVE THE EQUIPMENT MODEL AND SERIAL NUMBER, AND BILLING AND SHIPPING ADDRESSES ON HAND WHEN CALLING. When returning a product, mark the RMA clearly on the outside of the package. Include a complete description of the problem and the name and telephone number of a contact person. RETURN REQUESTS WILL NOT BE PROCESSED WITHOUT THIS INFORMATION. For units in warranty, customers are responsible for shipping charges to CalAmp Wireless DataCom. For units returned out of warranty, customers are responsible for all shipping charges. Return shipping instructions are the responsibility of the customer.
Product Documentation
CalAmp reserves the right to update its products, software, or documentation without obligation to notify any individual or entity. Product updates may result in differences between the information provided in this manual and the product shipped. For the most current product documentation, visit www.calamp.com for datasheets, programming software and user manuals.
Technical Support
M-F 7:30 AM to 4:30 PM CDT CalAmp Wireless DataCom 299 Johnson Avenue, Ste.110 Waseca, MN 56093 Tel: 507-833-8819 E-mail: [email protected]
Figure 1: Current Peak Example During a GSM call the module transmits in one timeslot, receives in one or two timeslots and is idle for 5-6 timeslots. In all it transmits for 577s and is idle or receiving for 4.03ms. Taking worst case figures into account, this adds up to an average current consumption of about 500mA for 1Tx timeslot at GSM.
Power Losses and Voltage Drops for GSM/GPRS Cell Module The cell modules are specified to operate with specific voltage supplies. Voltage supplies may range from 3.2V to 4.5V as measured on the modules power connector. To be on the safe side, it should be assumed that the voltage drop during the TX burst does not exceed 400mV. This means that if the cell module requires a minimum voltage supply of 3.2V, the power supply solution should provide at least 3.6V to the cell module. The SMC-GPRS modem has a built in 3A linear supply which regulates the 5VDC input down to 3.9VDC for the cell module.
Figure 2: Voltage drop during TX bursts The regulator on the SMC-GPRS modem will provide a post filtering effect, lowering external supply ripple to the cell module. The current draw on the 5VDC external supply during these TX burst cycles can be 1.4 Amps.
SMC-GPRS Power Supply Considerations Ideally, the external 5VDC supply should be able to provide the 1.4A current required by the SMCGPRS modem when the TX bursts occur. When this is not a practical design alternative, a mix between a linear regulator and capacitor supply may be an alternative approach. Figure 3 shows the basic block diagram.
External Regulator SMC-GPRS
Vin GND
Vout C
5VDC
GND
Figure 3: Regulator/Capacitor Block Diagram In a mixed power supply solution there are two components that can supply the current for the module if operated in parallel. These components are usually a big capacitor and a power supply circuit. With this solution power is supplied from both the capacitor and the external regulator. C = ( Icap x dT ) / dU Icap Amps, current required by capacitor dU Volts, voltage change across capacitor dT 577s, discharge time (TX burst timing) Ipeak = Isupply + Icap (1.4A TX burst current) For example, if the regulator supply is designed to provide 500mA to cover the average power needs of the SMC-GPRS modem, the capacitor will need to supply the 900mA needed during TX bursts. Assuming a 400mV change across the capacitor we have; C = (0.9A x 577s) / 0.4V C = 1298F The table below shows the required capacitor values for different capacitor current requirements using the same voltage drop across the capacitor. Isupply, Amps 0.5 0.6 0.7 0.8 0.9 1.0 Icap, Amps 0.9 0.8 0.7 0.6 0.5 0.4 C, F 1298 1154 1010 866 721 577