Rainbow Electronics GE863-GPS User Manual

GE863-GPS Software User Guide
GE863-GPS Software User Guide 1vv0300724 Rev. 3 - 05/07/07
This document is relating to the following products:
GE863-GPS 3990250660 GE863-GPS 3990250690
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
Contents:
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
1 Overview ........................................................................ 7
2 Basic Operations ........................................................... 8
2.1 Command Syntax.........................................................................................................................8
2.1.1 Interface Style........................................................................................................................8
2.2 Command Response Timeout.......................................................................................................9
2.3 Turning ON the GE863-GPS......................................................................................................12
2.4 Turning OFF the GE863-GPS....................................................................................................13
2.5 Checking GSM device functionality...........................................................................................15
2.5.1 Autobauding ........................................................................................................................15
2.5.2 SIM presence checking.........................................................................................................16
2.5.3 Network checking.................................................................................................................18
2.6 Placing a Voice call....................................................................................................................24
2.6.1 Voice call device set up.........................................................................................................24
2.6.2 Phone number dialing...........................................................................................................26
2.6.3 Closing the voice call............................................................................................................27
2.7 Placing a CSD Data call (not GPRS)..........................................................................................28
2.7.1 Data call device set up..........................................................................................................28
2.7.2 Phone number dialing (data call)............................................................................................29
2.7.3 Closing the Data call.............................................................................................................30
2.8 Answer an incoming Call...........................................................................................................31
3 Advanced Operations...................................................33
3.1 Accessing the phonebook............................................................................................................33
3.1.1 Preliminary phonebook set up................................................................................................33
3.1.2 Phonebook entry search by Name..........................................................................................36
3.1.3 Phonebook entry read by Index..............................................................................................37
3.1.4 Phonebook entry Write .........................................................................................................38
3.1.5 Phonebook entry Delete........................................................................................................40
3.1.6 Phonebook entry Dial ...........................................................................................................41
3.2 Distinguish Calls ........................................................................................................................43
3.2.1 Identify the Call type ............................................................................................................43
3.2.2 Identify the Caller.................................................................................................................44
3.2.3 Restricting Calling Line Indication ........................................................................................45
3.2.4 Call Barring Control .............................................................................................................47
3.3 DTMF tones...............................................................................................................................54
3.4 GSM Power Saving function......................................................................................................55
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
3.4.2 Power saving modes description............................................................................................57
3.5 SMS handling.............................................................................................................................59
3.5.1 SMS device setup................................................................................................................. 59
3.5.2 IRA character set..................................................................................................................65
3.5.3 Writing a New SMS to storage..............................................................................................65
3.5.4 Sending an SMS previously stored.........................................................................................65
3.5.5 Sending a new SMS without storing it....................................................................................65
3.5.6 Deleting an SMS..................................................................................................................65
3.5.7 Reading an SMS...................................................................................................................65
3.5.8 Listing a group of SMSs........................................................................................................ 65
3.6 Using General Purpose Input/Output pins .................................................................................65
3.6.1 GPIO pin setup..................................................................................................................... 65
3.6.2 GPIO pin use........................................................................................................................65
3.7 Clock/Alarm function.................................................................................................................65
3.7.1 Clock date/time....................................................................................................................65
3.7.2 Alarm function..................................................................................................................... 65
4 GPRS operations ..........................................................65
4.1 Introduction...............................................................................................................................65
5 GPS operations.............................................................65
5.1 Introduction...............................................................................................................................65
5.2 GE863-GPS Serial Ports ............................................................................................................65
5.2.1 GPS SERIAL PORT A (SIRF BINARY)............................................................................... 65
5.2.2 GPS SERIAL PORT B (NMEA)...........................................................................................65
5.3 WGS 84......................................................................................................................................65
5.4 NMEA 0183...............................................................................................................................65
5.4.1 GGA - Global Positioning System Fixed Data........................................................................65
5.4.2 GLL - Geographic Position - Latitude/Longitude.................................................................... 65
5.4.3 GSA - GNSS DOP and Active Satellites ................................................................................65
5.4.4 GSV - GNSS Satellites in View.............................................................................................65
5.4.5 RMC - Recommended Minimum Specific GNSS Data............................................................65
5.4.6 VTG - Course Over Ground and Ground Speed......................................................................65
5.5 Checking GPS device functionality............................................................................................65
5.5.1 Controlled mode................................................................................................................... 65
5.6 CONTROLLING GPS RECEIVER...........................................................................................65
5.6.1 POWER CONTROL OF GPS RECEIVER............................................................................65
5.6.2 GPS RESET.........................................................................................................................65
5.6.3 GPS ANTENNA MANAGEMENT.......................................................................................65
5.6.4 GPS PARAMETERS SAVE.................................................................................................65
5.6.5 RESTORE GPS PARAMETERS .......................................................................................... 65
5.6.6 READ ACQUIRED GPS POSITION.................................................................................... 65
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
5.6.7 Setting The GPS Module In Power Saving Mode....................................................................65
5.6.8 Wake Up GPS From Power Saving Mode .............................................................................. 65
5.7 NMEA INPUT MESSAGES......................................................................................................65
5.7.1 Transport Message................................................................................................................65
5.7.2 Message 100 – Set Serial Port................................................................................................ 65
5.7.3 Message 103 – Query / Rate Control......................................................................................65
5.7.4 Message 105 – Development Data On/Off.............................................................................. 65
5.7.5 Message 106 – Select Datum................................................................................................. 65
6 Service and firmware update........................................65
6.1 Step-by-Step upgrade procedure................................................................................................65
7 Document Change Log.................................................65
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
DISCLAIMER
The information contained in this document is the proprietary information of Telit Communications S.p.A. and its affiliates (“TELIT”). The contents are confidential and any disclosure to persons other than the officers, employees, agents or subcontractors of the owner or licensee of this document, without the prior written consent of Telit, is strictly prohibited.
Telit makes every effort to ensure the quality of the information it makes available. Notwithstanding the foregoing, Telit does not make any warranty as to the information contained herein, and does not accept any liability for any injury, loss or damage of any kind incurred by use of or reliance upon the information.
Telit disclaims any and all responsibility for the application of the devices characterized in this document, and notes that the application of the device must comply with the safety standards of the applicable country, and where applicable, with the relevant wiring rules.
Telit reserves the right to make modifications, additions and deletions to this document due to typographical errors, inaccurate information, or improvements to programs and/or equipment at any time and without notice. Such changes will, nevertheless be incorporated into new editions of this document.
All rights reserved. © 2006 - 2007 Telit Communications S.p.A.
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
1 Overview
The purpose of this document is the description of some common AT command procedures that may be used with the Telit GE863-GPS module.
In this document, all the basic functions of a mobile phone will be taken into account and for each one of them, a proper command sequence will be suggested. In the Advanced operation section the more useful services and features of the GSM network supported by the Telit GE863-GPS module is taken into account and some command sequence and usage are provided for each one of them. This document and its suggested command sequences shall not be considered mandatory; instead, the information given shall be used as a guide for properly using the Telit module. For further commands and features that may not be explained in this document refer to the GE863-GPS Product Description document where all the supported AT commands are reported.
NOTICE
(EN) The integration of the GSM/GPRS GE863-GPS cellular module within user application shall be done according to the design rules described in this manual.
(IT) L’integrazione del modulo cellulare GSM/GPRS GE863-GPS all’interno dell’applicazione dell’utente dovrà rispettare le indicazioni progettuali descritte in questo manuale.
(DE) Die integration des GE863-GPS GSM/GPRS Mobilfunk-Moduls in ein Gerät muß gemäß der in diesem Dokument beschriebenen Kunstruktionsregeln erfolgen
(SL) Integracija GSM/GPRS GE863-GPS modula v uporabniški aplikaciji bo morala upoštevati projektna navodila, opisana v tem piročniku.
(SP) La utilización del modulo GSM/GPRS GE863-GPS debe ser conforme a los usos para los cuales ha sido deseñado descritos en este manual del usuario.
(FR) L’intégration du module cellulaire GSM/GPRS GE863-GPS dans l’application de l’utilisateur sera faite selon les règles de conception décrites dans ce manuel.
GE863-GPS
The information presented in this document is believed to be accurate and reliable. However, Telit Communications S.p.A. assumes no responsibility for its use, nor any infringement of patents or other rights of third parties, which may result from its use. No license is granted by implication or otherwise under any patent rights of Telit Communications S.p.A. other than for circuitry embodied in Telit products. This document is subject to change without notice.
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2 Basic Operations
2.1 Command Syntax
In the next paragraphs the following notations are used:
<cr> represents the Carriage Return Character (13) <lf> represents the Line Feed Character (10) <xx> represents a parameter whatever name is in place of the xx. (< and > characters are
only for delimiting the parameter and must not be issued to the terminal).
[<xx>] represents an optional parameter whatever name is in place of the xx. ([ and ]
characters are only for delimiting the optional parameter and must not be issued to the terminal).
2.1.1 Interface Style
The GE863-GPS module is using an AT interface that is defined in the document (AT Commands Reference Guide). The specification defines 3 possible AT interfaces:
0 - AT command interface of the products, to the GM862-GSM and GM862-GPRS interface style 1 – AT interface of the products, to the GM862-PCS, PYTHON, QUAD-PY, TRIZIUM and GE863­QUAD, PY interface style 2 - switches the AT command interface style of the product, to the new products like GE864, GC864 and the GPS products
The default interface for the GE863-GPS product is 2. The switch between the different interfaces could also be performed with the #SELINT AT command.
Refer to the AT Commands Reference Guide for the full command description. All the AT commands described in this specification is related to SELINT 2
80000ST10025a
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.2 Command Response Timeout
Every command issued to the Telit GE863-GPS returns a result response if response codes are enabled (default) (see command ATQn). The time needed to process the given command and return the response varies from command to command and may depend also from the network on which the command may interact. As a result every command is provided with a proper timeout time, if this time elapses without any result from the operation, then the ERROR response is reported as if the operation was not successful. The timeout time is quite short for commands that imply only internal set up commands, but may be very long for command that interact with the network (or even Networks).
NOTE: In case no response is received after the timeout time has been elapsed, then try repeating the last command and if still no response is received until the timeout time, then an Unconditional Shutdown MUST be issued and then the device shall be powered ON again.
In the table below are listed all the commands whose timeout differs from the default 100 ms and their effective timeout is reported:
Command Time-Out (Seconds)
+CBST 0.2 +CR 0.2 +CRC 0.2 +CRLP 0.2 +CSCS 0.2 +CEER 5 +CGMI 5 +CGMM 5 +CGMR 5 +CGSN 20 +CIMI 20 +CNUM 20 +CREG 5 +COPS 180 +CLCK 180 @CLCK 180 +CPWD 180 +CLIP 180 +CLIR 180 +CCFC 180 +CCWA 20 +CHLD 20 +CUSD 180 +CAOC 20 +CSSN 20
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
Command Time-Out (Seconds)
+CLCC 20 +CPAS 5 +CPIN 20 +CSQ 5 +CPBS 5 +CPBR 20 +CPBF 20 +CPBW 20 +CALM 5 +CRSL 5 +CLVL 5 +CMUT 5 +CACM 20 +CAMM 20 +CPUC 20 +CMEE 5 +VTS 20 +GMI 5 +GMM 5 +GMR 5 +GSN 20 I3 5 I4 5 I5 5 +CSMS 5 +CPMS 5 +CMGF 5 +CSCA 20 +CSMP 5 +CSDH 5 +CSAS 5 +CRES 5 +CNMI 5 +CMGS 180 / 5 for prompt”>” +CMSS 180 +CMGW 5 / 5 for prompt”>” +CMGD 5 +CMGR 5 +CMGL 5 #CAP 10 #SRS 10 #SRP 10 #STM 10 #PCT 10
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 10 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
Command Time-Out (Seconds)
#SHDN 10 #QTEMP 10 #SGPO 10 #GGPI 10 #MONI 10 #CGMI 5 #CGMM 5 #CGMR 5 #CGSN 20 #CIMI 5 +CGACT 180 +CGATT 180 +CGDATA 20 +CGDCONT 20 +CGPADDR 20 +CGQMIN 20 +CGQREQ 20
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 11 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.3 Turning ON the GE863-GPS
To turn on the GE863-GPS the pin ON# must be tied low for at least 1 second and then released. A simple circuit to do it is:
ON#
Power ON impulse
GND
NOTE: don't use any pull up resistor on the ON# line. Using pull up resistor may bring to latch up problems on the GE863-GPS power regulator and improper power off of the module. The line ON# must be connected only in open collector configuration.
TIP: To check if power has raised it is possible to monitor the PWRMON line, when this line goes high the module is powered on, but before it remains on the device needs other 900 ms for software startup. Hence check the PWRMON line and 900 ms after its transition to high it is possible to release the ON# pin.
When turning on the module, both devices (GSM and GPS) will be started. The GPS antenna will be supplied and the receiver will start the scanning activity to achieve the Fix.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 12 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.4 Turning OFF the GE863-GPS
The turning off of the device can be done in two ways:
by software command
by hardware shutdown
When the device is shut down by software command or by hardware shutdown, it issues to the network a detach request that informs the network that the device will not be reachable any more.
2.4.1.1 Software shutdown
Send command
wait for
The device shuts down with the following sequence of activities:
Detach from the network
Module Shutdown
In the case of Network unavailability the detach will be attempted few seconds (typical 6secs). After this timeout the module will be shut down.
OK
AT#SHDN<cr>
response
2.4.1.2 Hardware shutdown
To turn OFF the GE863-GPS the pin ON# must be tied low for at least 2 second and then released. The same circuitry for the power on can be used. The device shuts down after the release of the ON# pin.
TIP: To check if the device has powered off, the hardware line PWRMON should be monitored. When it goes low, the device has powered off.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 13 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.4.1.3 Hardware Unconditional SHUTDOWN
To unconditionally SHUTDOWN the GE863-GPS the pin RESET# must be tied low for at least 200 milliseconds and then released. A simple circuit to do it is:
RESET#
Unconditional Power OFF impulse
GND
NOTE: don't use any pull up resistor on the RESET# line nor any totem pole digital output. Using pull up resistor may bring to latch up problems on the GE863-GPS power regulator and improper functioning of the module. The line RESET# must be connected only in open collector configuration.
TIP: The unconditional hardware RESET should be always implemented on the boards and software should use it as an emergency exit procedure.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 14 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.5 Checking GSM device functionality
After a proper power on the device is ready to receive AT commands on the serial port. Several things have to be checked in order to be sure that the device is ready to send and receive calls and SMS:
2.5.1 Autobauding
At startup it is necessary to send an AT command to make the device set the right speed and character format of the serial port. When this is done the device responds with OK. If no response is received within the timeout period of 200 ms retry.
Send command
wait for
after this initial command, it is advisable to fix the port rate, in order to eliminate possible errors in detecting the serial speed rate:
Send command
wait for
where rate is the port speed and can be 0, 300,1200,2400,4800,9600,19200,38400,57600,115200 bps.
If <rate> is set to 0, then automatic speed detection is enabled and also character format (see +ICF) is set to auto-detect. (default)
If <rate> is specified and not 0, DTE-DCE speed is fixed at that speed, hence no speed auto-detection (autobauding) is enabled.
TIP: The serial port suggested setting is: port speed 38400, character format 8N1 (8 bit per char, No parity bit, 1 stop bit). In case of an application that uses only 3 wires for the serial communication (RX, TX and GND) it is suggested to disable the hardware flow control using the AT&K0 command.
OK
OK
AT<cr>
response
AT+IPR=<rate><cr>
response
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 15 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.5.2 SIM presence checking
After autobauding the first thing to check is the SIM presence and PIN code insertion, this can be done with the following commands:
2.5.2.1 Enable the Extended error result codes
send command
wait for
or if you prefer the verbose format instead of the numerical format then:
send command
wait for
OK
OK
AT+CMEE=1<cr>
response
AT+CMEE=2<cr>
response
2.5.2.2 Query SIM presence and status
send command
wait for response:
Response Reason Action
+CPIN: SIM PIN SIM is present and PIN is +CPIN: SIM PUK SIM is present and 3 attempts
+CPIN: READY SIM is present and no PIN code +CME ERROR: 10 SIM not present Insert SIM or require SIM
+CME ERROR: 13 SIM defect Check SIM insertion or require
+CME ERROR: 14 SIM is busy retry later +CME ERROR: 15 SIM is wrong type Check SIM, it must be a GSM
AT+CPIN?<cr>
required to continue operations to give SIM PIN have failed, so
SIM PUK is required is required to proceed
Proceed to par. 2.5.2.3 Send command
AT+CPIN=<SIM PUK> Proceed ahead
insertion and repeat from par.
2.5.2.2 a new SIM not defected and
repeat from par. 2.5.2.2
SIM.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 16 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.5.2.3 Provide SIM PIN (only if required see point 2.5.2.2)
send command
where **** stands for the SIM PIN code (e.g. 1234)
wait for response:
AT+CPIN=****<cr>
Response Reason Action
OK SIM PIN was correct Proceed ahead ERROR the PIN code inserted is not
correct
NOTE: When receiving the ERROR message, repeat Query SIM presence and status since after 3 failed attempts SIM PIN is not anymore requested, but SIM PUK is requested instead, hence you may need to go through procedure 2.5.2.4
Retry from par. 2.5.2.2
2.5.2.4 Provide SIM PUK (only if required see par. 2.5.2.2)
send command where ******* stands for the SIM PUK code (e.g. 12345678) and <newpin> (e.g. 1234) will replace the old pin in the SIM.
wait for response:
AT+CPIN=*******,<newpin><cr>
Response Reason Action
OK SIM PUK was correct Proceed ahead ERROR the SIM PUK code inserted is
not correct
TIP: When receiving the ERROR message, be careful to check if the SIM PUK is correct before retrying, since after 10 failed attempts to provide the SIM PUK the SIM Card will lock and will not be usable anymore.
Retry from par. 2.5.2.4
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 17 of 122
Try in another place, and repeat
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.5.3 Network checking
2.5.3.1 Query network status
send command
wait for response:
Response Reason Action
+CME ERROR: 10 SIM not present or damaged Check SIM or require SIM
+CME ERROR: 11 SIM is present and PIN is +CREG: 0,0
or +CREG: 1,0
+CREG: 0,1 or +CREG: 1,1 +CREG: 0,2 or +CREG: 1,2
+CREG: 0,3 or +CREG: 1,3
+CREG: 0,4 or +CREG: 1,4 +CREG: 0,5 or +CREG: 1,5
TIP: When a response +CREG: x,1 or +CREG: x,5 is received, then the device is ready to place and receive a call or SMS. It is possible to jump directly to call setup procedures or SMS sending procedures.
AT+CREG?<cr>
required to continue operations No GSM/DCS network is found Check for antenna cable
Mobile is registered on its home network.
Mobile is currently not registered on any network but is looking for a suitable one to register. Mobile has found some networks but it is not allowed to register on any of them, no roaming was allowed. Mobile is in an unknown network status
Mobile has found some networks and is currently registered in roaming on one of them
insertion and repeat from par.
2.5.2.2 Repeat par. 2.5.2.3
connection (antenna may be disconnected or damaged) or change position if the antenna is OK. Repeat par. 2.5.3.1 until a network is found. Proceed ahead. Ready to call
Repeat procedure at par.
2.5.3.1 to see if it has found a suitable network to register in.
procedure at par.2.5.3.1
Repeat procedure at par.2.5.3.1 to see if it has found a suitable network to register in Proceed ahead. Ready to call
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 18 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.5.3.2 Network operator identification
Once the mobile has registered on some network (or even if it has returned +CREG:x,3), it is possible to query the mobile for network identifications codes an names:
send command
wait for response in the format:
+COPS: [list of supported (<stat> ,<oper (in <format>=0)>,, <oper (in <format>=2)>)s][,,(list of supported <mode>s), (list of supported<format>s)]
where: <stat> - operator availability
0 - unknown 1 - available 2 - current 3 - forbidden
<format> 0 - alphanumeric long form (max length 16 digits) 2 - numeric 5 digits [country code (3) + network code (2)]
<oper>: network operator in format defined by <format> parameter. NOTE: since with this command a network scan is done, this command may require some seconds
before the output is given.
For example:
command:
AT+COPS=?<cr> Answer: +COPS: (2,"I WIND",,"22288"),(1,"SI MOBITEL GSM",,"29341"),(1,"vodafone IT",,"22 210"),(1,"SI.MOBIL",,"29340"),(3,"I TIM",,"22201"),,(0-4),(0,2)
OK In this case the mobile is registered on the network "I TIM" which is a network from Italy Nation code
:222 and Network ID: 01. There is also another network available for registration: "SI.MOBIL" which is a network from Slovenia Nation Code:293 and Network ID: 40. The other networks are not available for registration and are: "I-OMNITEL" from Italy Nation code :222 and Network ID: 10 - FORBIDDEN "SI-GSM " from Slovenia Nation Code:293 and Network ID: 41 - UNKNOWN
TIP: In this case a "I TIM" logo might be reproduced on the MMI to give the user the information that is registered on that network.
NOTE: this command issues a network request and it may require a quite long time to respond, since the device has to wait the answer from the network (it can be as long as 60 seconds). Hence don't use it if not needed.
AT+COPS=?<cr>
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 19 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.5.3.3 Check for received signal strength & quality
Once the mobile has registered on one network, it may be useful to know the received signal strength & quality to give the user an indication of the reliability of the network.
send command
wait for response in the format:
+CSQ: <rssi>,<ber> OK where:
<rssi> is an integer from 0 to 99 that indicates the received signal strength:
<rssi> value Signal strength Indication
10 -93 dBm MMI may indicate 3 antenna bars 11 -91 dBm MMI may indicate 3 antenna bars 12 -89 dBm MMI may indicate 3 antenna bars 13 -87 dBm MMI may indicate 3 antenna bars 14 -85 dBm MMI may indicate 3 antenna bars 15 -83 dBm MMI may indicate 4 antenna bars 16 -81 dBm MMI may indicate 4 antenna bars 17 -79 dBm MMI may indicate 4 antenna bars 18 -77 dBm MMI may indicate 4 antenna bars 19 -75 dBm MMI may indicate 4 antenna bars 20 -73 dBm MMI may indicate 4 antenna bars 21 -71 dBm MMI may indicate 4 antenna bars 22 -69 dBm MMI may indicate 4 antenna bars 23 -67 dBm MMI may indicate 4 antenna bars 24 -65 dBm MMI may indicate 4 antenna bars 25 -63 dBm MMI may indicate 4 antenna bars 26 -61 dBm MMI may indicate 4 antenna bars 27 -59 dBm MMI may indicate 4 antenna bars 28 -57 dBm MMI may indicate 4 antenna bars
AT+CSQ<cr>
0 -113 dBm or less Signal is VERY low: at the extreme sensibility limit 1 -111 dBm MMI may indicate only 1 antenna bar 2 -109 dBm MMI may indicate only 1 antenna bar 3 -107 dBm MMI may indicate only 1 antenna bar 4 -105 dBm MMI may indicate only 1 antenna bar 5 -103 dBm MMI may indicate only 1 antenna bar 6 -101 dBm MMI may indicate 2 antenna bars 7 -99 dBm MMI may indicate 2 antenna bars 8 -97 dBm MMI may indicate 2 antenna bars 9 -95 dBm MMI may indicate 2 antenna bars
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 20 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
29 -55 dBm MMI may indicate 4 antenna bars 30 -53 dBm MMI may indicate 4 antenna bars 31 -51 dBm or more MMI may indicate 4 antenna bars 99 not detected MMI may indicate flashing antenna bars
NOTE: when <rssi> is less than 6, only 1 MMI antenna bar, the quality of a call will be poor and the call may even drop.
<ber> is an integer from 0 to 7 and 99 that reports the received signal quality measured on the radio
traffic channel.
NOTE: The quality is measured on the traffic channel, hence it is available only during a
conversation, in Idle the reported value must not be considered. In conversation the quality decreases with the increase of the <ber> number.
NOTE: The <ber> value refers strictly to the GSM radio channel and is a very technical parameter, it can be used to monitor the voice call quality since the voice quality is inversely proportional to the <ber> number.
NOTE: For Data calls the signal quality reported is not directly connected to the connection quality. The reported signal quality refers only to the GSM radio channel link and not to the whole path from the caller to the receiver, so it may happen that the quality on the GSM radio link is very good and hence the reported <ber> is 0 (good quality) but the quality of the remaining path to the other party is very bad and hence the final data connection quality is very poor. For this reason the signal quality indicator <ber> should not be taken into account to monitor data calls quality.
2.5.3.4 Quick Network Status Checking
Once the mobile has registered on one network, it may be useful to know the received signal strength and the network on which the mobile is registered. These information can be gathered with the commands +CREG, +COPS and +CSQ, which are part of the standard ETSI GSM 07.07 commands as seen before, unfortunately these commands are not so fast in the response due to network response time, especially the +COPS command. If You want to keep your software as general as possible you can follow the indications given before and forget this part; instead if you need or want a faster way to check at the mobile network information, the GE863-GPS provides a special command #MONI which can be used to gather all the information needed in a faster and simpler way:
send command
wait for
send command
wait for response in the format:
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 21 of 122
OK
AT#MONI=0<cr>
response
AT#MONI?<cr>
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
#MONI: <netname> BSIC:<bsic> RxQual:<qual> LAC:<lac> Id:<id> ARFCN:<arfcn> PWR:<dBm> dBmTA: <timadv>
OK
or in the case the network name is not known:
#MONI: Cc:<cc> Nc:<nc> BSIC:<bsic> RxQual:<qual> LAC:<lac> Id:<id> ARFCN:<arfcn> PWR:<dBm> dBm TA: <timadv>
OK where:
<netname> = name of network operator <cc> = country code <nc> = network operator code <n> = progressive number of adjacent cell <bsic> = base station identification code <qual> = quality of reception (0-7) (same as <ber> of +CSQ command) <lac> = localization area code <id> = cell identifier <arfcn> = assigned radio frequency channel <dBm> = received signal strength in dBm (same as "decoded" rssi value) <timadv> = timing advance
For example:
command:
AT#MONI=0<cr>
Answer:
OK
command:
AT#MONI?<cr>
Answer:
#MONI: I TIM BSIC:23 RxQual:7 LAC:AEAD Id:5265 ARFCN: 59 PWR: -80 dBm TA:0 OK In this case the mobile is registered on the network "I TIM", the signal strength is -80dBm (MMI may
indicate 4 antenna bars as reported on the table 5). The other information received is strictly technical and should not be given to the user.
For example2:
command:
AT#MONI=0<cr>
Answer:
OK
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 22 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
command:
AT#MONI?<cr>
Answer:
#MONI: Cc: 010 Nc: 03 BSIC:23 RxQual:7 LAC:0001 Id:0001 ARFCN: 60 PWR: -83 dBm TA:0 OK In this case the mobile is registered on the network whose Country code is 010 and Network operator
code is 03, the signal strength is -83dBm (MMI may indicate 4 antenna bars as reported on the table
5). The other information received is strictly technical and should not be given to the user. The values reported are random and have no meaning they are used only to explain command usage.
NOTE: This command should be used only to gather information on network name and signal strength, to check if mobile is registered or is looking for a suitable network to register to, use always the +CREG command. This is due to the fact that if the network signal is too weak and mobile looses the registration, until a new network is found the #MONI command reports the last measured valid values and not the real ones. The TA (timing advance parameter) is valid only during a call.
TIP: To properly use this feature, check network registration with command +CREG as seen on par. 2.5.3.1 and when mobile is registered query the mobile for network operator name and signal strength with #MONI command.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 23 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.6 Placing a Voice call
Before a voice call can be placed, it is recommended to check if the mobile is registered on a network (see par. 2.5.3.1) and if the signal strength is enough to ensure a call can be made.
2.6.1 Voice call device set up
2.6.1.1 Set the device in voice mode
Send command
wait for
NOTE: This command may be omitted if the modifier ";" is added at the end of the ATD command after the number to be dialed.
OK
AT+FCLASS=8<cr>
response
2.6.1.2 Set the desired audio path active
The GE863-GPS has two different audio paths:
internal microphone/ear (MT)
external microphone/ear (HF)
Usually the internal path is used for a handset function, while the external is used for handsfree function. There are two way to switch between these two paths:
SOFTWARE: by using the command AT#CAP= <n> (with n=1 OR n=2)
HARDWARE: by setting AT#CAP=0 and setting the AXE input high (internal MT) or low
(external HF).
If only one path is needed, then it is preferable to use the internal one (MT).
TIP: when Hardware control is not needed AXE pin can be left unconnected.
TIP: the audio paths can be switched also during a call in both ways.
Send command
where:
<n> = 0 for HARDWARE control with AXE input <n> = 1 for external HF path (regardless of the AXE input status) <n> = 2 for internal MT path (regardless of the AXE input status)
wait for
OK
AT#CAP=<n><cr>
response
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 24 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
For example: 1 - Let's assume that the desired audio path is always the internal MT
Command:
AT#CAP=2<cr>
Answer:
OK
2 - Let's assume that the desired audio path has to be determined by HARDWARE pin AXE
Command:
AT#CAP=0<cr>
Answer:
OK
Now set the hardware pin AXE in the desired status.
2.6.1.3 Set the desired volume on the active audio path speaker output
This setting is not strictly necessary; it is also possible to keep the default volume setting.
Send command
where: <vol> is a number between 0 and 10 representing the volume setting:
0 – minimum volume
10 - maximum volume
wait for
NOTE: The volume setting refers to the ACTIVE path ear line and is stored each time. When changing audio path the volume setting will be reset to the previously stored value for that audio path.
OK
AT+CLVL=<vol><cr>
response
2.6.1.4 Check for microphone mute setting
The microphone of the active path can be muted with an AT command; to be sure that it is not muted, it is suggested to check it with this command:
Send command
wait for response in the format:
+CMUT: <mute> OK where:
<mute> is the muting setting for the microphone: 0 - microphone active
AT+CMUT?<cr>
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 25 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
1 - microphone muted
NOTE: The mute setting is different from Volume setting: it refers to both the audio paths, the mute setting will remain even when changing audio path.
2.6.2 Phone number dialing
2.6.2.1 Dial a given phone number
Send command
where: <PhoneNumber> is the phone number to be dialed
wait for response:
Response Reason Action
OK The call has been placed Wait for the other party to lift BUSY The line called is busy retry later
NO ANSWER The receiver did not answer the NO CARRIER Call placing has not been
ATD <PhoneNumber><cr>
call successful
the receiver.. retry later check for mobile registration
and signal strength
For example: 1- Let's assume you have to call the national number 040 - 4192111,
command:
ATD 0404192111<cr>
response
OK 2- Let's assume you have to call the national number but in international format +39-40-4192111,
command:
ATD +39404192111<cr>
response
OK 3- Let's assume you have to call the international number +386-40-4192111 without previously setting
the +FCLASS=8 (voice),
command:
ATD +386404192111;<cr>
response
OK
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 26 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.6.3 Closing the voice call
2.6.3.1 Hang up the voice call
Send command
wait for response
TIP: during the voice call the device remains in command mode, so the escape sequence (+++) must not be issued before sending commands.
ATH<cr>
OK
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 27 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
2.7 Placing a CSD Data call (not GPRS)
Before a data call can be placed, it is recommended to check if the mobile is registered on a network (see par. 2.5.3.1) and if the signal strength is enough to ensure that a call can be made.
2.7.1 Data call device set up
2.7.1.1 Set the device in data mode
Send command
wait for
TIP: The +FCLASS setting is maintained in memory, so there's no need to repeat this command if +FCLASS setting is not changed.
OK
AT+FCLASS=0<cr>
response
2.7.1.2 Set the desired modulation and speed for the connection
The data connection can be made using different modulations at different speeds. This connection mode can be selected with the command +CBST. The syntax for the command is: AT+CBST=<mod>,0,<ce> These parameters can be selected as seen in the table:
Command Modulation Speed
[bps]
AT+CBST==0, 0, 1 Autobauding ---- non transparent AT+CBST==1, 0, 1 V.21 300 non transparent AT+CBST==2, 0, 1 V.22 1200 non transparent AT+CBST==3, 0, 1 V.23 1200/75 non transparent AT+CBST==4, 0, 1 V.22Bis 2400 non transparent AT+CBST==6, 0, 1 V.32 4800 non transparent AT+CBST==7, 0, 1 V.32 9600 non transparent AT+CBST==14, 0, 1 V.34 14400 non transparent AT+CBST==65, 0, 1 V.110 300 non transparent AT+CBST==66, 0, 1 V.110 1200 non transparent AT+CBST==68, 0, 1 V.110 / X.31 2400 non transparent AT+CBST==70, 0, 1 V.110 / X.31 4800 non transparent AT+CBST==71, 0, 1 V.110 / X.31 9600 non transparent AT+CBST==75, 0, 1 V.110 / X.31 14400 non transparent AT+CBST==1, 0, 0 V.21 300 transparent
Connection
Element
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 28 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
AT+CBST==2, 0, 0 V.22 1200 transparent AT+CBST==3, 0, 0 V.23 1200/75 transparent AT+CBST==4, 0, 0 V.22Bis 2400 transparent AT+CBST==6, 0, 0 V.32 4800 transparent AT+CBST==7, 0, 0 V.32 9600 transparent AT+CBST==65, 0, 0 V.110 300 transparent AT+CBST==66, 0, 0 V.110 1200 transparent AT+CBST==68, 0, 0 V.110 / X.31 2400 transparent AT+CBST==70, 0, 0 V.110 / X.31 4800 transparent AT+CBST==71, 0, 0 V.110 / X.31 9600 transparent
Once selected the appropriate <mod > and <ce> parameters from the table:
Send command
wait for
OK
AT+CBST=<mod>,0,<ce><cr>
response
2.7.2 Phone number dialing (data call)
2.7.2.1 Dial a given phone number
Send command
where: <PhoneNumber> is the phone number to be dialed
wait for response:
Response Reason Action
CONNECT 9600 The called modem is now on BUSY The line called is busy retry later
NO ANSWER The receiver did not answer the NO CARRIER The modem handshaking has
TIP: The response to the ATD command is returned after the modem handshaking, this takes about 30 seconds, so allow this time before doing anything.
ATD <PhoneNumber><cr>
line.
call not been successful
exchange data..
retry later check for mobile registration
and signal strength and eventually retry.
TIP: When the device is doing the handshake the issue of any character closes the handshake and aborts the call.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 29 of 122
GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
For example: 1- Let's assume you have to call the national number 040 - 4192111,
command:
ATD 0404192111<cr>
response
CONNECT 9600 2- Let's assume you have to call the national number but in international format +39-40-4192111,
command:
ATD +39404192111<cr>
response
CONNECT 9600 3- Let's assume you have to call the international number +386-40-4192111,
command:
ATD +386404192111<cr>
response
CONNECT 9600
2.7.3 Closing the Data call
2.7.3.1 Exit the data mode and enter the command mode
Send escape sequence
wait the escape sequence pause time ( see S12 parameter)
wait for response
NOTE: After the Escape sequence and during the call the only command that is accepted by the GE863-GPS is the ATH. All the other commands are not supported during a call.
TIP: during the escape sequence pause time S12 no further characters should be sent to the device in order to enter the command mode.
OK
+++
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 30 of 122
Loading...
+ 92 hidden pages