GM862-GPS Software User Guide GM862-GPS Software User Guide 1vv0300729 Rev.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 Contents: 1 Overview .............................................................................................................7 2 Basic Operations .................................................................................................8 2.1 Command Syntax.........................................................................................................................8 2.1.1 Interface Style ....................................
.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 SMS device setup ................................................................................................................. 58 IRA character set.................................................................................................................. 68 Writing a New SMS to storage ..............................................................................................
5.7.1 5.7.2 5.7.3 5.7.4 5.7.5 6 Service and firmware update ..........................................................................117 6.1 7 GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 Transport Message.............................................................................................................. 112 Message 100 – Set Serial Port.............................................................................................. 113 Message 103 – Query / Rate Control...........
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 This document is relating to the following products: GM86 2-GPS GM86 2-GPS 3 990 250 657 3 990 250 689 Reproduction forbidden without Telit Communications S.p.A.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 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.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 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 GM862-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.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2 Basic Operations 2.1 Command Syntax In the next paragraphs the following notations are used: represents the Carriage Return Character (13) represents the Line Feed Character (10) 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). [] represents an optional parameter whatever name is in place of the xx.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2.2 Command Response Timeout Every command issued to the Telit GM862-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.
GM862-GPS Software User Guide 1vv0300729 Rev.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 Command #SHDN #QTEMP #SGPO #GGPI #MONI #CGMI #CGMM #CGMR #CGSN #CIMI +CGACT +CGATT +CGDATA +CGDCONT +CGPADDR +CGQMIN +CGQREQ Time-Out (Seconds) 10 10 10 10 10 5 5 5 20 5 180 180 20 20 20 20 20 Reproduction forbidden without Telit Communications S.p.A.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2.3 Turning ON the GM862-GPS To turn on the GM862-GPS the pin ON# must be tied low for at least 1 second and then released. 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 900ms for software startup. Hence check the PWRMON line and 900 ms after its transition to high it is possible to release the ON# pin.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 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.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 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 AT+CMEE=1 • wait for OK response or if you prefer the verbose format instead of the numerical format then: • send command AT+CMEE=2 • wait for OK response 2.5.2.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2.5.2.3 Provide SIM PIN (only if required see point 2.5.2.2) • send command AT+CPIN=**** where **** stands for the SIM PIN code (e.g. 1234) • wait for response: Response OK ERROR Reason SIM PIN was correct the PIN code inserted is not correct Action Proceed ahead Retry from par. 2.5.2.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2.5.3 Network checking 2.5.3.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2.5.3.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 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. 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.
27 28 29 30 31 99 GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 -59 dBm MMI may indicate 4 antenna bars -57 dBm MMI may indicate 4 antenna bars -55 dBm MMI may indicate 4 antenna bars -53 dBm MMI may indicate 4 antenna bars -51 dBm or more MMI may indicate 4 antenna bars not detected MMI may indicate flashing antenna bars NOTE: when is less than 6, only 1 MMI antenna bar, the quality of a call will be poor and the call may even drop.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 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.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 For example: command: AT#MONI=0 Answer: OK command: AT#MONI? 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.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 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 (see par. 2.5.3.2). 2.6.1 Voice call device set up 2.6.1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 For example: 1 - Let's assume that the desired audio path is always the internal MT Command: AT#CAP=2 Answer: OK 2 - Let's assume that the desired audio path has to be determined by HARDWARE pin AXE Command: AT#CAP=0 Answer: OK Now set the hardware pin AXE in the desired status. 2.6.1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2.6.1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 For example: 1- Let's assume you have to call the national number 040 - 4192111, command: ATD 0404192111 response OK 2- Let's assume you have to call the national number but in international format +39-40-4192111, command: ATD +39404192111 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; response OK 2.6.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 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 (see par. 2.5.3.2). 2.7.1 Data call device set up 2.7.1.
AT+CBST==1, 0, 0 AT+CBST==2, 0, 0 AT+CBST==3, 0, 0 AT+CBST==4, 0, 0 AT+CBST==6, 0, 0 AT+CBST==7, 0, 0 AT+CBST==65, 0, 0 AT+CBST==66, 0, 0 AT+CBST==68, 0, 0 AT+CBST==70, 0, 0 AT+CBST==71, 0, 0 V.21 V.22 V.23 V.22Bis V.32 V.32 V.110 V.110 V.110 / X.31 V.110 / X.31 V.110 / X.31 GM862-GPS Software User Guide 1vv0300729 Rev.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 TIP: When the device is doing the handshake the issue of any character closes the handshake and aborts the call.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2.7.3.2 Hang up the data call • • Send command ATH wait for response NO CARRIER TIP: during the data call the device remains in data (on line) mode, so the escape sequence (+++) must be issued before sending AT commands to the device. 2.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 To answer the call: • Send command • wait for response: ATA Response CONNECT 9600 ERROR NO CARRIER OK Reason The incoming call was a DATA one and called modem is now on line. No incoming call is found, call may have been lost The incoming call was a DATA one and the modem handshaking has not been successful The incoming call was a VOICE call and is now active. Action exchange data..
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3 Advanced Operations 3.1 Accessing the phonebook The GM862-GPS can access the phonebook storage of the SIM card inserted, by using specific AT commands it is possible to store and recall phone numbers and their associated name. 3.1.1 Preliminary phonebook set up The GM862-GPS supports several SIM phonebook storages: • "SM" - SIM phonebook This is the PB used to store and recall numbers during the normal operation of the device.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.1.1.
+CME ERROR: 17 PIN2 is required to continue operations, since FD facility is not enabled. GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 SIM. Enable FD facility with +CLCK (see par.3.1.1.2) and retry.
+CME ERROR: 16 the inserted PIN2 is wrong GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 and retry. Check PIN2 code and retry. NOTE: When receiving the ERROR or +CME ERROR message, repeat Query SIM presence and status since after 3 failed attempts SIM PIN2 is not anymore requested, but SIM PUK2 is requested instead, hence you may need to go through procedure 2.5.2.4 (but insert PUK2 instead of PUK1) 3.1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 command: AT+CPBF="FA" the response may look like: +CPBF= 7,"+39404192369",145,"Fabio" +CPBF= 9,"0404192111",129,"Fabrizio" OK - Now you might want to look for the entries with the name starting with: "FAUSTO" but no record contains this name: command: AT+CPBF="FAUSTO" response: +CME ERROR: 22 or if extended error codes are disabled simply response: ERROR 3.1.
GM862-GPS Software User Guide 1vv0300729 Rev.
+CME ERROR: 10 SIM not present +CMS ERROR: 310 SIM not present +CME ERROR: 11 +CME ERROR: 13 SIM is present and PIN is required to continue operations SIM is present and PIN is required to continue operations SIM is present and PUK is required to continue operations SIM is present and PUK is required to continue operations SIM defect +CMS ERROR: 313 SIM defect +CME ERROR: 14 +CMS ERROR: 314 +CME ERROR: 15 SIM is busy SIM is busy SIM is wrong type +CMS ERROR: 315 SIM is wrong type +CME ERROR: 21
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 -Now you may want to check if operation has really succeeded and where the new record has been written. (obviously operation was successful, since the device returned OK) command: AT+CPBF="NEW" response: +CPBF= 8,"0404192123",129,"NewRecord" OK The new record was written at the position index 8. (The first free record index found). 3.1.5 Phonebook entry Delete As first thing, the desired storage must be active (see par.3.1.1.1).
+CME ERROR: 14 +CMS ERROR: 314 +CME ERROR: 15 SIM is busy SIM is busy SIM is wrong type +CMS ERROR: 315 SIM is wrong type GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 retry later retry later Check SIM, it must be a GSM SIM. Check SIM, it must be a GSM SIM. TIP: The delete operation simply overwrites the record number with an empty record. If the record to be deleted was already empty, no error messages will be shown, but it will be only filled again with empty values. 3.1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 AT+FCLASS=8 response: OK AT#CAP=2 OK AT+CLVL=8 OK AT+CMUT? +CMUT: 0 - and Dial: ATD> 7 OK Reproduction forbidden without Telit Communications S.p.A.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2 Distinguish Calls 3.2.1 Identify the Call type The GM862-GPS is able to identify the call type before answering it, it is so possible to have different ring indications (unsolicited codes) depending on the call type: Unsolicited code RING +CRING: VOICE +CRING: ASYNC +CRING: SYNC +CRING: REL ASYNC +CRING: REL SYNC +CRING: FAX Reason The extended format of incoming call indication is disabled and a call (voice or data) is incoming.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.1.1 Set the extended incoming call indication • Send command AT+CRC= where: is the operation mode selected: 0 – extended results Disabled (device reports RING only) 1 – extended results Enabled (device reports +CRING: indication) • wait for OK response 3.2.2 Identify the Caller The GM862-GPS is able to identify the caller number and give indication of it before the call is answered.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.2.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.3.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.3.2 Restrict/Allow Caller line ID indication • Send command AT+CLIR= where: is the operation mode selected: 0 – Calling Line Indication to the other party According to Network service status.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.4.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2- Let's assume you want to check whether the Outgoing (originated) international calls are barred or not: command: AT+CLCK=OI,2 response: +CLCK: 1 In this case, the outgoing international calls ARE BARRED. 3.2.4.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.4.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.4.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.4.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.4.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.2.4.7 Unbarring all the Calls • Send command AT+CLCK=AB,0, where: is the network password required to change facility status • wait for response: Response OK Reason Barring is now disabled ERROR some error occurred +CME ERROR: 4 operation not supported, the service required is not available no network service Check for registration (see par. 2.5.3.1) and signal strength.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.3 DTMF tones DTMF tones are managed by specific AT commands. These tones are generated with AT commands only during voice calls. The minimum duration of a DTMF tone can be set on 10 ms but it should be considered that this value can vary with the limitations on network.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.4 GSM Power Saving function The Telit GM862-GPS has a special function that reduces the power consumption during the idle time, thus allowing a longer standby time with a given battery capacity.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.4.1.1 Enabling/Disabling the power saving function • send command AT+CFUN= where: is the power saving function mode, the supported values are: 0 - minimum functionality, NON-CYCLIC SLEEP mode: in this mode, the AT interface is not accessible.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.4.
GM862-GPS Software User Guide 1vv0300729 Rev.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.5 SMS handling The Telit GM862-GPS supports the Short Message Service, it is possible to store, delete, write, send and receive a SMS, which is a short text message up to 160 characters long. 3.5.1 SMS device setup Before accessing the Short Message Service, the device has to be properly set up. 3.5.1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.5.1.2 Check SMS Service Centre number The SMS are sent by the GM862-GPS to a service centre (SMSC) where the message is dispatched towards its final destination or is kept until the delivery is possible. To ensure a correct behavior of this service the number of the service centre must be the one your network operator supports.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 For example: 1- Let's assume your desired SMSC number is +39335123456 (stored in international format): command: AT+CSCA=+39335123456,145 response: OK 3.5.1.4 Select New Messages indication behavior When the device receives a new message a unsolicited indication is generated, this indication may be sent to the DTE, buffered if the DTE is busy (for example during a data call) or discarded.
GM862-GPS Software User Guide 1vv0300729 Rev.
GM862-GPS Software User Guide 1vv0300729 Rev.
GM862-GPS Software User Guide 1vv0300729 Rev.
GM862-GPS Software User Guide 1vv0300729 Rev.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 35 36 37 38 39 40 41 42 43 44 45 46-47 48 49 50 51-55 56-62 63 64 65 66 67 68 69 70 71 72..94 95 96..126 127 group 4 telefax voice telephone (i.e. conversion to speech) ERMES (European Radio Messaging System) National Paging system (known to the SC) Videotex (T.100/T.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 for simplicity, we report only the most useful DCS, for further Schemes refer to GSM 3.38 b7 1 b6 1 b5 1 b4 1 b3 0 b2 Alpha bet b1 b0 Class where Alphabet 0 - default Alphabet 1 - 8 bit Class 0 0 - Class 0 1 - Class 1 0 - Class 1 1 - Class 0 1 2 3 TIP: The default value for DCS = 0 represents the default SMS sent by a mobile. If you don't need any particular data coding scheme use DCS=0.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 12 hours + ((167 -143) x 30 min) = 24 hours - Protocol ID implicit (SMS sent to a mobile terminal) corresponding to a value 0. - DCS default value 0.
GM862-GPS Software User Guide 1vv0300729 Rev.
x9 xA xB xC xD xE xF 2 LF CR3 ) * + , . / 9 : ; < = > ? I J K L M N O GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 Y i y Z j z k l m n £ o 1 - SP stands for space character - LF stands for Line Feed character 3 - CR stands for Carriage Return character 2 For example: 1- Let's assume you want to find the IRA code for the character '&': From the table you find: - most significant Nibble: 2 - least significant Nibble: 6 Hence the IRA code for the '&' character is the hexadecimal 0x26.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.5.3 Writing a New SMS to storage A new SMS can be written in the selected storage (in the current SW version only "SM" is supported) and then can be sent to the desired destination.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 For example: 1- Let's assume you want to write a new SMS to the storage and the destination address is the number +39338123456789. We suppose you already have set up the device for text SMS mode as described on the previous paragraphs: command: AT+CMGW="+39338123456789" response: > now you can insert the message text in IRA format (note that the IRA format and ASCII format coincide for the alphabet characters but not for the other). ….
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.5.4 Sending an SMS previously stored An already written SMS can be sent from the selected storage (in the current SW version only "SM" is supported). To send the written SMS its location index is needed: • send command AT+CMSS= where: : SMS location index • wait for response: Response Reason Action +CMSS: Message has been successfully proceed ahead sent. represents the OK message reference number.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 For example: 1- Let's assume you want to send a SMS that was written to the storage index position number 3. We suppose you already have set up the device for text SMS mode as described on the previous paragraphs: command: AT+CMSS=3 response: +CMSS: 1 OK In this case, the SMS was successfully sent to the destination and its network message reference number is 1. 3.5.
+CMS ERROR: 42 +CMS ERROR: 96 network congestion Mandatory information missing OK command aborted by user GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 Retry later Check for destination address in the SMS, overwrite it and retry. you issued a ESC char For example: 1- Let's assume you want to directly send a new SMS to the destination address number +39338123456789.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.5.6 Deleting an SMS An already written/received SMS can be deleted from the selected storage (in the current SW version only "SM" is supported). To delete the SMS its location index is needed: • send command AT+CMGD= where: : SMS location index • wait for response: Response OK ERROR +CMS ERROR: 321 Reason Action Message has been successfully proceed ahead deleted.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.5.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 145 - number in international format (contains the "+") - text length - TP-User_data • If indicates that GSM03.38 default alphabet is used , each character of GSM alphabet will be converted into current TE character set (see +CSCS) • If indicates that 8-bit or UCS2 data coding scheme is used, each 8-bit octet will be converted into two IRA character long hexadecimal number (e.g.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.5.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 For example: 1- Let's assume you want to list all the SMS received read that are stored. We suppose you already have set up the device for text SMS mode as described on the previous paragraphs: command: AT+CMGL="REC READ" response: +CMGL: 5, "REC READ","+393381234567890" Telit Test Message for Text Mode SMS RECEIVING. +CMGL: 8, "REC READ","+393381234567890" Telit Second Test Message for Text Mode SMS RECEIVING.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.6 Using General Purpose Input/Output pins The Telit GM862-GPS provides various General Purpose Input/Output pins, these pins can be configured via AT commands as Inputs, Outputs and two of them as "alternate function".
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 For example: 1- Let's assume you want to set GPIO3 pin as Output and you want it to be in LOW status: command: AT#GPIO=3,0,1 response: OK In this case, the GPIO3 pin was successfully put in output direction and its status has been set to LOW. 3.6.1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.6.2 GPIO pin use After having set-up the GPIO pin direction you can query the input status of an INPUT pin or set the output status of an OUTPUT pin. 3.6.2.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2- Let's assume you want to query the GPIO4 pin for its status: command: AT#GPIO=4,2 response: #GPIO: 1,0 OK In this case, the GPIO4 pin was set in output direction and its status is LOW. 3- Let's assume you want to query the GPIO6 pin for its status: command: AT#GPIO=6,2 response: #GPIO: 2,0 OK In this case, the GPIO6 pin was set in "alternate function" direction and therefore works as alarm output. The reported status = LOW has no meaning.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 In this case, the GPIO3 pin was set in output direction and its status has been set to HIGH. 3.6.2.3 Using GPIO4 pin as RF Transmission Control (alternate function) When you set the GPIO4 pin as RF Transmission Control input function, the pin forces the Transmitter to be OFF when the application set to LOW the line.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 AT#GPIO=5,0,2 response: OK In this case, the GPIO5 pin was successfully put in RFTXMON output direction. 3.6.2.5 Using GPIO6 pin as ALARM OUTPUT (alternate function) When you set the GPIO6 pin as alarm output function, the pin reports the alarm state following the +CALA settings.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.6.2.6 Using GPIO7 pin as BUZZER OUTPUT (alternate function) When you set the GPIO7 pin as buzzer output function, the pin will output a waveform suitable to drive a Buzzer, provided a simple external mosfet driver is developed and that the #SRP settings are adequate.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.7 Clock/Alarm function The Telit GM862-GPS provides a Real Time Clock and Alarm embedded in the product; it is therefore possible to set-up the proper time, check the actual time, set-up an alarm time at which the alarm will be triggered with various behavior depending on the +CALA setting.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.7.1 Clock date/time Before using the Alarm feature, you must regulate the internal clock. 3.7.1.1 Regulate the Clock • Send command AT+CCLK="
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.7.1.2 Read the current date/time • Send command AT+CCLK? • wait for response in the format: +CCLK: OK NOTE: the three last characters of are not returned by +CCLK? because the ME doesn’t support time zone information. For example: 1- Let's assume you want now to read the current time: command: AT+CCLK? response: +CCLK="02/11/07,12:26:47" OK In this case the current date/time is: 7 November 2002 12h 26m 47s 3.7.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 2 - the MODULE wakes up in "alarm mode" if at the alarm time it was off, otherwise it remains fully operative. In both cases the MODULE issues an unsolicited code every 3s: +ALARM: where is the +CALA optional parameter previously set. The device keeps on sending the unsolicited code every 3s until a #WAKE or #SHDN command is received or a 90s timeout occurs.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 3.7.2.2 Stop the Alarm activity When the alarm time expires, the module starts the alarm activity according to the alarm behavior parameter selected. To stop the Alarm activity there are three ways, you can either decide to exit from alarm and shutdown the device or exit from alarm and entering the normal operational status; otherwise you can leave the alarm go on until the 90s timeout is reached. 3.7.2.2.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 NOTE: if the device is in the alarm mode no network activity is done, therefore the only commands that are accepted are the #WAKE and #SHDN ones. When in the alarm mode, no operation is allowed towards the network, therefore it is not possible to receive or send calls, SMS and whatever GSM/GPRS services. 3.7.2.3.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 - read the current time. command: AT+CCLK? response: +CCLK="02/11/07,13:24:47" OK - calculate & set up the next alarm in order to raise the GPIO6 pin to power up the controlling application too. command: AT+CALA="02/11/07,14:24:47+01",0,6,"TIME TO MEASURE & SMS…!" response: OK - shutdown the GM862-GPS and successively the controlling application. command: AT#SHDN response: OK Reproduction forbidden without Telit Communications S.p.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 4 GPRS operations 4.1 Introduction The General Packet Radio Services (GPRS) standard permits DATA transfers in a completely different way with respect to previous point to point communications made with Circuit Switch Data (CSD) GSM modems.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 In GPRS operations instead, the connection is made directly towards internet as if the GPRS modem was a network IP socket interface. There's no data path reserved for the data exchange between the two peers, instead the resources are allocated dynamically on demand and the data exchanged is organized into packets typically TCP/IP, furthermore the maximum transfer speed can be much faster than GSM CSD.
- GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 Since the communication is based upon TCP/IP packets, then it is possible to talk contemporarily with more than one peer. When required, the data security in internet shall be guaranteed by security protocols over the TCP/IP that must be managed by the controlling application. 4.1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5 GPS operations 5.1 Introduction The GM862-GPS module is equipped with a SiRFStar III GPS receiver that is controllable by the GSM modem using a setof AT commands or dedicated NMEA sentences. 5.2 GM862-GPS Serial Ports 2 serial ports are available on the module: • MODEM SERIAL PORT • GPS SERIAL PORT B (NMEA) 5.2.1 GPS SERIAL PORT B (NMEA) This port is carrying out the GPS navigation data in NMEA 0183 format.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.4 NMEA 0183 The NMEA 0183 is a specification created by the National Marine Electronics Association (NMEA) that defines the interface between other marine electronic equipment. The standard permits marine electronics to send information to computers and to other marine equipment. GPS receiver communication is defined within this specification. The actually supported version is 2.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.4.1 GGA - Global Positioning System Fixed Data This sentence provides Time, position, and fix related data for a GPS Receiver Table A contains the values for the following example: $GPGGA,161229.487,3723.2475,N,12158.3416,W,1,07,1.0,9.0,M, , , ,0000*18 Table A Name Message ID UTC Time Latitude N/S Indicator Longitude E/W Indicator Position Fix Indicator Satellites Used HDOP MSL Altitude Units Geoid Separation Units Age of Diff. Corr. Diff. Ref.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.4.2 GLL - Geographic Position - Latitude/Longitude This sentence provides latitude and longitude of vessel position, time of position fix and status Table C contains the values for the following example: $GPGLL,3723.2475,N,12158.3416,W,161229.487,A,A*41 Table C Name Message ID Latitude N/S Indicator Longitude E/W Indicator UTC Time Status Mode Example $GPGLL 3723.2475 N 12158.3416 W 161229.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.4.3 GSA - GNSS DOP and Active Satellites This sentence reports the GPS receiver’s operating mode, satellites used in the navigation solution reported by the GGA sentence and DOP values. Table D contains the values for the following example: $GPGSA,A,3,07,02,26,27,09,04,15, , , , , ,1.8,1.0,1.5*33 Table D: GSA Data Name Message ID Mode 1 Mode 2 Satellite Used1. Satellite used in solution.1 Satellite Used1 ....
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.4.4 GSV - GNSS Satellites in View This sentence reports the number of satellites (SV) in view, satellite ID numbers, elevation, azimuth and SNR value. There could be four satellites information per transmission so, if the number of satellites in view is bigger, separated GSV sentences will be generated. The number of sentence in transmission and the total to be transmitted is shown in the first 2 fields of the sentence.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.4.5 RMC - Recommended Minimum Specific GNSS Data This sentence reports Time , date, position, course and speed data. Table H contains the values for the following example: $GPRMC,161229.487,A,3723.2475,N,12158.3416,W,0.13,309.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.4.6 VTG - Course Over Ground and Ground Speed This sentence reports the actual course and speed relative to the ground. Table I contains the values for the following example: $GPVTG,309.62,T, ,M,0.13,N,0.2,K,A*23 Table I: VTG Data Format Name Example Message ID $GPVTG Course 309.62 Reference T Course Reference M Speed 0.13 Units N Speed 0.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.5 Checking GPS device functionality After a proper power on the device is ready to receive AT commands on the MODEM serial port. The GPS receiver also will be automatically powered on and it will start the scan of the available GPS signals. On the NMEA serial port (default 4800 bps, 8, n, 1) there must be presence of the NMEA sentences. 5.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 $GPSP: 0 OK NOTE: Due to the fact that VAUX1 could also be used to supply the Camera, if this device is switched on the command AT$GPSP=0 will not be executed 5.6.2 GPS RESET With the command AT$GPSR= is possible to reset the GPS module. Parameter: 0 - Hardware reset: the GPS receiver is reset and restarts by using the values stored in the internal memory of the GPS receiver.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.6.3 GPS ANTENNA MANAGEMENT The GPS receiver needs an active antenna. This antenna could be supplied by the module. By default the antenna supply is set to ON (the provided voltage is related to VBATT so the GPS antenna have to accept a range of supply voltage from 3.4 to 4.2V DC) With the AT$GPSAT command is possible to define this setting.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.6.4 GPS PARAMETERS SAVE This command allows saving the set parameters in the module’s memory Syntax of the command : AT$GPSSAV After this command restart the module to update the modifications. 5.6.5 RESTORE GPS PARAMETERS This command allows restoring the factory default parameters for the GPS module Syntax of the command : AT$GPSRST After this command restart the module to update the modifications. 5.6.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 : dddmm.mmmm E/W (referred to GGA sentence) Values: ddd (degrees) 00 to 180 mm.mmmm (minutes) 00,0000 to 59.9999 E/W: East / West : x.x : xxxx.x (referred to GGA sentence) Horizontal Diluition of Precision (referred to GGA sentence) Altitude – mean-sea-level (geoid) (meters) : 0 - Invalid Fix 2 - 2D fix 3 - 3D fix : ddd.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.6.7 Setting The GPS Module In Power Saving Mode The command that allows to set the GPS module in Power saving mode is AT$GPSPS Its syntax is: AT$GPSPS= [,] Parameters: - the GPS receiver can operate in three modes • 0 - full power mode, power saving disabled (default); it is the standard operating mode; power is supplied to the receiver continuously and the GPS receiver continues to operate without an interrupt.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.6.8 Wake Up GPS From Power Saving Mode AT$GPSWK is a command that allows to wake up the GPS module if set in sleeping mode due to power saving. AT$GPSWK=? Test command returns the OK result code NOTE: The command could be executed in controlled mode only.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.7 NMEA INPUT MESSAGES NMEA input messages enable you to control the GPS Receiver using the NMEA SERIAL PORT. The NMEA serial port is available only on the following pins: PIN # 35 41 NAME TX_GPS RX_GPS DESCRIPTION GPS TX Data (N MEA) GPS RX Data (NMEA) TYPE CMOS 2.8 V CMOS 2.8 V 5.7.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 *CKSUM CKSUM is a two-hex character checksum as defined in the NMEA specification, NMEA-0183 Standard For Interfacing Marine Electronic Devices. Checksum consists of a binary exclusive OR the lower 7 bits of each character after the “$” and before the “*” symbols. The resulting 7-bit binary number is displayed as the ASCII equivalent of two hexadecimal characters representing the contents of the checksum.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.7.3 Message 103 – Query / Rate Control This command is used to control the output of standard NMEA messages GGA, GLL, GSA, GSV, RMC, and VTG. Using this command message, standard NMEA messages may be polled once, or setup for periodic output. Checksums may also be enabled or disabled depending on the needs of the receiving program. NMEA message settings are saved in battery-backed memory for each entry when the message is accepted.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.7.4 Message 105 – Development Data On/Off Use this command to enable development data information if you are having trouble getting commands accepted. Invalid commands generate debug information that enables you to determine the source of the command rejection. Common reasons for input command rejection are invalid checksum or parameter out of specified range. The command has the following syntax: $PSRF105,< checksum> Examples: 1.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5.7.5 Message 106 – Select Datum GPS receivers perform initial position and velocity calculations using an earth-centered earth-fixed (ECEF) coordinate system. Results may be converted to an earth model (geoid) defined by the selected datum. The default datum is WGS 84 (World Geodetic System 1984), which provides a worldwide common grid system that may be translated into local coordinate systems or map datums.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 6 Service and firmware update The Telit GM862-GPS module firmware can be updated through the same serial interface, which is used normally for the AT commands.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 4. Press OK to the initial message. NOTE: In connection with the GM862-GPS modules, charged battery has to be understood that the power supply must not be disconnected during the firmware update. Reproduction forbidden without Telit Communications S.p.A.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 5. Select the right COM port and speed. Note that to go faster than 115200 you need a special hardware on the PC. Then Press the Download button and within 5 seconds power-on the GM862-GPS. Wait for the end of programming green message OK The Telit GM862-GPS module is now programmed with the new firmware. NOTE: the above pictures show how the application dialogs appear for the GM862-PCS product. The GM862-GPS TFI application is similar.
GM862-GPS Software User Guide 1vv0300729 Rev. 5 - 05/07/07 7 Document Change Log Revi sion ISSUE #0 ISSUE #1 ISSUE #2 ISSUE #3 Date 04/05/ 06 07/09/ 06 21/11/ 06 19/12/ 06 ISSUE #4 ISSUE #5 24/01/ 07 05/07/ 07 Changes First release Review of all the doc ument 2.6.2.1 General review of the whole document -removed GP RS part, camera -added SW firmware update Updated 5.6.