GM862-QUAD / PY Software User Guide GM862-QUAD / PY Software User Guide 1vv0300747 Rev.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 Contents: 1 Overview .............................................................................................................6 2 Basic Operations .................................................................................................7 2.1 Command Syntax.........................................................................................................................7 2.1.1 Interface Style ..............................
.4.1 3.4.2 GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 Enabling/Disabling the power saving function ........................................................................ 27 Power saving modes description ............................................................................................ 27 3.5 SMS handling.............................................................................................................................27 3.5.1 SMS device setup ..................
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 This document is relating to the following products: GM862-QUAD 3 990 250 659 GM862-QUAD-PY 3 990 250 658 Reproduction forbidden without Telit Communications S.p.A.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 1 Overview The purpose of this document is the description of some common A T command procedures that may be used with the Telit GM862-QUAD / PY 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 - Action type commands. This type of command may be “executed” or “tested”.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 2.1.2 String Type Parameters A string, either enclosed between quotes or not, is considered to be a valid string type parameter input. According to V25.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 2.2 Command Response Timeout Every command issued to the Telit GM862-QUAD / PY 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.
Command +CLCC +CPAS +CPIN +CSQ +CPBS +CPBR +CPBF +CPBW +CALM +CRSL +CLVL +CMUT +CACM +CAMM +CPUC +CMEE +VTS +GMI +GMM +GMR +GSN I3 I4 I5 +CSMS +CPMS +CMGF +CSCA +CSMP +CSDH +CSAS +CRES +CNMI +CMGS +CMSS +CMGW +CMGD +CMGR +CMGL #CAP #SRS #SRP #STM #PCT GM862-QUAD / PY Software User Guide 1vv0300747 Rev.
Command #SHDN #QTEMP #SGPO #GGPI #MONI #CGMI #CGMM #CGMR #CGSN #CIMI +CGACT +CGATT +CGDATA +CGDCONT +CGPADDR +CGQMIN +CGQREQ GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 2.3 Turning ON the GM862-QUAD / PY To turn on the GM862-QUAD / PY 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 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.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 2.5.3 Network checking 2.5.3.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 2.5.3.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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.
26 27 28 29 30 31 99 GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 -61 dBm MMI may indicate 4 antenna bars -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-QUAD / PY Software User Guide 1vv0300747 Rev.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 Answer: OK command: AT#MONI? 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.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 2.6.1.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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.
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.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-QUAD / PY Software User Guide 1vv0300747 Rev.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 command: ATD 0404192111 response CONNECT 9600 2- Let's assume you have to call the national number but in international format +39-40-4192111, command: ATD +39404192111 response CONNECT 9600 3- Let's assume you have to call the international number +386-40-4192111, command: ATD +386404192111 response CONNECT 9600 2.7.3 Closing the Data call 2.7.3.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 2.8 Answer an incoming Call When an incoming call is detected the device reports an unsolicited code which may be: Unsolicited code RING +CRING: VOICE +CRING: ASYNC +CRING: REL ASYNC +CRING: SYNC +CRING: REL SYNC +CRING: FAX Reason The extended format of incoming call indication is disabled and a call (voice or data) is incoming. The extended format of incoming call indication is enabled and a voice call is incoming.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3 Advanced Operations 3.1 Accessing the phonebook The GM862-QUAD / PY 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-QUAD / PY 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.1.1.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 NOTE: After power up & PIN authentication the device reads all the SIM for a backup, hence SIM access is inhibited (SIM is busy after the issue of the PIN or after power up if PIN request is disabled) for a time varying from few seconds to about a minute, depending on the percentage of written records in the SIM phonebook. If Phonebook commands are issued during this time the device returns an error message.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.1.2 Phonebook entry search by Name As first thing, you must select the "SM" storage as active (see par.3.1.1.1). • send command AT+CPBF= where: is the desired string to be found in the name field of the PB record.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 AT+CPBF="FAUSTO" response: +CME ERROR: 22 or if extended error codes are disabled simply response: ERROR 3.1.3 Phonebook entry read by Index As first thing, you must select the desired storage as active (see par.3.1.1.1). Then: • send command AT+CPBR= where: is the index number of the desired PB record to be read.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 - Now you might want to look for the entries at the positions from 7 to 9 and for example the position at index 8 is empty command: AT+CPBR=7,9 the response may look like: +CPBR= 7,"+39404192369",145,"Fabio" +CPBR= 9,"0404192111",129,"Fabrizio" OK 3.1.4 Phonebook entry Write As first thing, you must select the desired storage as active (see par.3.1.1.1).
+CMS ERROR: 316 +CME ERROR: 13 +CMS ERROR: 313 +CME ERROR: 14 +CMS ERROR: 314 +CME ERROR: 15 +CMS ERROR: 315 +CME ERROR: 21 +CME ERROR: 20 +CMS ERROR: 322 GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 SIM is present and PUK is insert SIM PUK (see required to continue operations par.2.5.2.4) SIM defect Check SIM insertion or require a new SIM not defected and repeat from par. 2.5.2.2 SIM defect Check SIM insertion or require a new SIM not defected and repeat from par. 2.5.2.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 where: is the index number of the desired PB record to be deleted.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.1.6 Phonebook entry Dial You may want to dial a number previously stored in the phonebook. As first thing, you must find the desired phone number index position, to do it use the +CPBF command. Once the number is known set up the device for the type of call you want to dial. Then: • send command ATD> where: is the index number of the desired PB record to be dialed.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.2 Distinguish Calls 3.2.1 Identify the Call type The GM862-QUAD / PY 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.2.3 Identify the Caller The GM862-QUAD / PY is able to identify the caller number and give indication of it before the call is answered.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 RING +CLIP: "+391234567890",145 NOTE: this does not mean that the incoming call is an international one, it simply means that the numbering scheme used to identify the caller is the international one. 3.2.4 Restricting Calling Line Indication The GM862-QUAD / PY is able to send the calling line indication (CLI) to the other party through the network when an outgoing call is made.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 response: +CLIR: 2,4 In this case the CLIR service is temporary mode allowed on the network and the mobile sends the CLI when calling. (CLI Restriction not active). 3.2.4.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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.2.5.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 command: AT+CLCK=OI,2 response: +CLCK: 1 In this case, the outgoing international calls ARE BARRED. 3.2.5.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.2.5.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.2.5.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.2.5.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.2.5.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.2.5.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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.4 GSM Power Saving function The Telit GM862-QUAD / PY 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.4.1 Enabling/Disabling the power saving function Send command AT+CFUN=[[,]] where: Parameters: - is the power saving function mode 0 - minimum functionality, NON-CYCLIC SLEEP mode: in this mode, the AT interface is not accessible. Consequently, once you have set level 0, do not send further characters. Otherwise these characters remain in the input buffer and may delay the output of an unsolicited result code.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.4.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.5 SMS handling The Telit GM862-QUAD / PY 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.1 Select SMS format type.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.5.1.2 Check SMS Service Centre number The SMS are sent by the GM862-QUAD / PY 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.5.1.3 Add SMS Service Centre number (only if required) If your previously check for SMSC returned an empty field: +CSCA: ,129 or if the SMSC number stored does not correspond to the desired one, then the new number has to be stored. In this way the previously stored number will be overwritten.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 - result code indication reporting for SMS-DELIVER 0 - No SMS-DELIVER indications are routed to the TE. 1 - If SMS-DELIVER is stored into ME/TA, indication of the memory location is routed to the TE using the following unsolicited result code: +CMTI: , where: - memory storage where the new message is stored "SM" "ME" - location on the memory where SM is stored.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 0 - TA buffer of unsolicited result codes defined within this command is flushed to the TE when =1..3 is entered (OK response shall be given before flushing the codes) 1 - TA buffer of unsolicited result codes defined within this command is cleared when =1..3 is entered. NOTE: issuing AT+CNMI is the same as issuing the Read command. NOTE: issuing AT+CNMI= is the same as issuing the command AT+CNMI=0.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.5.1.5 Set Text Mode Parameters (only in TEXT mode) When the device is set to operate with Text SMS not with PDU, the SMS parameters that usually reside on the header of the PDU must be set apart with the command +CSMP.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 (reserved, 5 combinations) values specific to each SC, usage based on mutual agreement between the SME and the SC (7 combinations available for each SC) A GSM mobile station. The SC converts the SM from the received TPData-Coding-Scheme to any data coding scheme supported by that MS (e.g. the default).
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 NOTE: Not all the DCS combinations described in the GSM 3.38 are supported, both by the network and by the Telit GM862-QUAD / PY. Some features may be not implemented at network level or at device level, resulting in a +CMS ERROR: 303 (operation not supported) result code. If this happens then use a different DCS.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 "29/06/02,02:20:00+1" - Protocol ID implicit (SMS sent to a mobile terminal) corresponding to a value 0. - Data Coding Scheme: - Default Alphabet - Class 0 (e.g. immediate display SMS) Corresponding to the binary number 11110000 corresponding to the integer 240. command: AT+CSMP= 57,29/06/02,02:20:00+1,0,240 response: OK 3.5.1.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 max number of SMS that can contain - number of SMS stored into max number of SMS that can contain From this response you can check if the selected storage has room for new SMSs, the free positions in the storage X (where X can be r,w,s ) are -. 3.5.2 IRA character set The character set used in SMS text mode is the IRA.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 2- Let's assume you have the IRA code 0x6B and you want to find the corresponding character: From the table you find at the position - most significant Nibble: 6 - least significant Nibble: B Hence, the character corresponding to the 0x6B IRA code is 'k'. TIP: With the command AT+CSCS is possible to select the character set; the available types are: “IRA” - ITU-T.50 ”8859-1” - ISO 8859 Latin 1 ”PCCP437” - PC character set Code Page 437.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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). ….
+CMS ERROR: 1 +CMS ERROR: 42 +CMS ERROR: 96 GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 network registration Unassigned number The destination address number does not exist. Check it and repeat command. network congestion Retry later Mandatory information missing Check for destination address in the SMS, overwrite it and retry. For example: 1- Let's assume you want to send a SMS that was written to the storage index position number 3.
+CMS ERROR: 331 +CMS ERROR: 1 +CMS ERROR: 42 +CMS ERROR: 96 OK GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 that the device is not registered network registration on any network No network service Check for signal strength and network registration Unassigned number The destination address number does not exist. Check it and repeat command. network congestion Retry later Mandatory information missing Check for destination address in the SMS, overwrite it and retry.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 • wait for response: Response OK ERROR +CMS ERROR: 321 Reason Action Message has been successfully proceed ahead deleted. some error occurred Enable the extended error codes report (see par.2.5.2.1) and retry. Invalid memory index Check the number and e.g. the given record was retry. already empty For example: 1- Let's assume you want to delete a previously written SMS that was written to the storage index position number 3.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 command: AT+CMGR=4 response: +CMGR: "STO UNSENT","+393351234565" Telit Test Message for Text Mode SMS. OK In this case the SMS was successfully read, the text contained was: " Telit Test Message for Text Mode SMS.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.6 Using General Purpose Input/Output pins The Telit GM862-QUAD / PY 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.7 Clock/Alarm function The Telit GM862-QUAD / PY 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 MM - month (two last digits are mandatory), range is 01..12 dd - day (two last digits are mandatory), range is 01..31 (if the month MM has less than 31 days, the clock will be set for the next month) hh - hour (two last digits are mandatory), range is 00..23 mm - minute (two last digits are mandatory), range is 00..59 ss - seconds (two last digits are mandatory), range is 00..
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.7.2 Alarm function Once the current time has been set, the alarm function can be setup. 3.7.2.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 TIP: Remember that the string time has to be encapsulated in double brackets, furthermore the Alarm time will not be computed for different timezone, therefore the alarm time will always refer to the same timezone as the clock setting regardless the timezone set in the +CALA command. NOTE: if you use the GPIO6 pin as ALARM OUTPUT, then you MUST set its direction to "alternate function" (see par. 3.6.2.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 3.7.2.3 Querying the Alarm status When the device awakes by means of an alarm time expire, the module starts the alarm activity but not the network activity, permitting some operations to be done by the controlling application without registering the mobile in the network.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 response: OK … after an hour.. The GM862-QUAD / PY will turn itself ON in "Alarm Mode" and contemporarily both rise the GPIO6 pin which turns on the power to the controlling application and issue every 3s an unsolicited code +ALARM: TIME TO MEASURE & SMS…! - turn on the keep alive line in the controlling application that keeps itself ON.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 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.1 CSD application example Let's suppose you have several remote meteorological measurement units spread around the territory, and you want to access them wirelessly through a GSM module in CSD operation.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 5 Service and firmware update The Telit GM862-QUAD/PY module firmware can be updated through the same serial interface, which is used normally for the AT commands.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 5.1 Step-by-Step upgrade procedure The firmware update can be done with a specific software tool provided by Telit that runs on Windows based PCs. First the program will erase the content of flash memory, then the program will write on the flash memory.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 4. Press OK to the initial message. NOTE: In connection with the GM862-QUAD/PY 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-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/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-QUAD/PY. Wait for the end of programming green message OK The Telit GM862-QUAD/PY module is now programmed with the new firmware. NOTE: the above pictures show how the application dialogs appear for the GM862-PCS product.
GM862-QUAD / PY Software User Guide 1vv0300747 Rev. 3 - 10/07/07 6 Document Change Log Revi sion ISSUE #0 ISSUE #1 Date 18/09/ 06 20/10/ 06 ISSUE#2 ISSUE#3 19/12/ 06 10/07/ 07 Changes First release 2.4.1.3, 2.5.3.2, 3.3.1.1, 3.5.1.1, 4.2, 4.5, 5.3, 6.1; Added GP IO5/RFTXMON example 2.3, 2.6.2, 2.7.2, 3.1.1.1, 3.3, 3.5.2, 3.5.5, 3.6.2, 4.