Home

Digicom Pocket GSM

image

Contents

1. 3 Speaker 4 Microphone The modem includes AC coupling and biasing for electret microphone Suggested characteristics for the microphone Polarizzazione 2V 0 5mA Impedance 2KQ Sensitivity from 40dBm to 50dBm SNR Signal to Noise Ratio gt 50dBm Suggested characteristics for the speaker Type 10mW electro magnetic Impedance from 32 to 150 Q Suggest configuration AT SPEAKER 0 AT ECHO 0 AT SIDET 1 3 For further information see the chapter AT Commands present in the user s manual on Digicom website 2 6 PocketGSM Functional Examples 3 FUNCTIONAL EXAMPLES Pocket GSM can be programmed through a set of AT commands for the execution of all its functionalities If you are using a PocketGSM GPRS information for the GPRS functionality are present in AT Commands chapter It is present in the user s manual on Digicom web site Here the description of some applications For the complete AT command set see the chapter AT Commands Attention In the factory configuration the AT commands are managed at 9600bit s only the PocketGSM GPRS at 115200bit s only Before going on with your settings you must set your terminal emulator e g HyperTerminal or your application as follows 9600 8 N 1 with PocketGSM GPRS 115200 8 N 1 then you can modify the interface speed with the values included between 300 and 115200bit s with the command AT IPR For further inform
2. TIM 22201 Shows the available operators Default AT COPS 0 2 lt mode gt Registration mode 0 Automatic lt oper gt is ignored 1 Manual 4 If manual selection fails automatic mode is entered lt format gt Operator format 0 Long alphanumeric format e g OMNITEL 1 Short alphanumeric format e g OMNI 2 Numeric format e g 22210 lt oper gt Operator identifier 4 14 PocketGSM AT Commands AT CPIN Enter PIN code This command is used to enter the PIN and PUK codes If the SIM card used with Pocket GSM has the PIN code enabled it will be necessary to insert it each time you turn the modem on to permit the registration to the GSM network The PIN and the PUK code management can be carried out with any mobile phone For further information on the PIN code management see chapter Functional Examples Attention If the PIN code is three times wrongly inserted the SIM card is blocked To unblock insert the PUK code and the new PIN code e g AT CPIN 12345678 1234 Command Possible answers Action AT CPIN lt pin gt OK ERROR PIN code insertion AT CPIN lt puk gt lt pin gt OK ERROR PUK and PIN insertion AT CPIN lt status gt Shows the SIM status lt status gt Description CPIN READY PIN code is present SIM ready CPIN SIM PIN PIN is required CPIN SIM PUK PUK is required CPIN SIM PIN2 PIN2 is required ERROR SIM card reading failed AT CR Connecti
3. 22e Pocket G i 7 SSA Sm p User s Guide rev 3 1 12 2004 1 digicom http www digicom it PocketGSM Index INDEX PREFACE ENVIRONMENTAL CONDITIONS CLEANING THE TERMINAL VIBRATIONS OR DROPPING DECLARATION CE OF CONFORMITY 1 INTRODUCTION 1 1 TECHNICAL FEATURES 1 2 WARNINGS INSTALLATION 2 1 PIN OUT CONNECTOR 2 2 SIM CARD 2 3 CONNECTION TO THE EXTERNAL ANTENNA 2 4 POWER SUPPLY 2 5 LED INDICATORS 2 6 CONNECTOR FOR THE VOICE MANAGEMENT FUNCTIONAL EXAMPLES AT COMMANDS 4 1 COMMANDS NOTES 4 2 AT COMMANDS DESCRIPTION 4 2 1 GENERAL COMMANDS 4 2 2 07 07 GSM COMMANDS 4 2 3 PHONEBOOK COMMANDS 4 2 4 VOICE COMMANDS 4 2 5 SMS CONTROL COMMANDS GSM 07 05 4 2 6 GPIO COMMANDS GENERAL PURPOSE INPUT OUTPUT 4 2 7 GPRS COMMANDS GSM 07 07 APPENDIX A digicom PocketGSM Preface PREFACE All rights reserved no part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic otherwise without the prior written permission of Digicom S p A The following installation rules should be respected in order to have the best working order of the equipment and for the user s safety ENVIRONMENTAL CONDITIONS Enviromental temperature Relative humidity from 20 to 55 C from 20 to 80 n c Rapid changes of temperature or humidity should be avoided This equipment including cables should be installed in an area free from
4. It is necessary connect only a free contact without voltage between the input pin pin 6 5 4 3 and the ground pin pin 10 zago toxooa t I GND DIGITAL INPUT CHARACTERISTICS Permitted status e Input open e Input closed to ground GND Analog Inputs Two Analog to Digital Converter are available on the PocketGSM These converters have a 10 bit resolution ranging from 0 to 28 Vdc ANALOG INPUT CHARACTERISTICS Resolution e 10bit Input signal range e From 0 to 28Vdc igicom To read the value use AT ADC command Send AT ADC 1 command and read the value with AT ADC command cy 4 31 PocketGSM AT Commands Command Possible answers Action AT ADC ADC lt ADC3 gt lt ADC2 gt lt ADC1 gt Shows the current value Ignore the first value lt ADC3 gt read only ADC1 and ADC2 This command gets the DC level 1024 of ADC1 and ADC2 Output The two outputs of PocketGSM old and new version manage the Pasza devices that can be activated and deactivated through a switch pin 1 e g Lamp Sound Logic Port etc i i C or pin 2 To connect your devices check the Transistor characteristics max i collector emitter voltage Vce and collector current Ic G e fo s i pin 10 Vce max 45V Wetec a Ic max 500mA 4 32 PocketGSM AT Commands Connection Examples If you want to manage a simple led 1 5V 20mA with a 12V power supply you must add a pull up resis
5. ATSO Auto answer The SO register allows to disable ATSO 0 or to enable the modem autoanswer when arriving an incoming call Command Possible answers Action ATS0 lt n gt OK ERROR Auto answer after n rings ATSO OK Reading of SO register Default ATS0 0 ATV Result code format This command determines the modem response format verbose code or numeric code Command Possible answers Action ATVO OK Result code display as digit ATV1 OK Result code display as words Default ATV1 PocketGSM AT Commands ATZ Load user profile This command will load a user profile previously saved with the AT amp W command Command Possible answers Action ATZ OK Loads the user profile AT D Automatic dialing with DTR C108 This command allows to activate a DATA or VOICE autocall to the number stored in the first location of the SIM phonebook or the automatic sending of an SMS stored in the SIM first location The number is dialed when DTR passes from OFF to ON status the short message is sent when DTR passes from OFF to ON status Command Possible answers Action AT DO OK Function disabled AT D1 OK Enables automatic dialing DATA AT D1 OK Enables automatic dialing VOICE AT D2 OK Enables automatic sending of the SMS Default AT DO AT amp C Data Carrier Detect C109 This command defines the management of the DCD C109 on the modem serial port If controlle
6. Answer OK Command AT IFC 0 0 Criterion 105 ignored flow control OFF Command AT IFC 2 2 Criterion 105 managed as per specification flow control ON Answer OK D DATA TRANSFER PocketGSM can call and be called by analog PSTN digital ISDN and GSM devices Usually DATA connections with analog modems are at 9600bit s V 32 protocol ISDN connections use V 110 protocol with speed at 9600bit s The data transfer with another GSM device is carried out using V 32 or V 110 protocols DATA Calls Using the ATD command it is possible to make a call For example to call the number 0123456789 you must send to the modem the command ATD0123456789 lt Enter gt Depending on the AT CBST command setting it is possible to program PocketGSM for analog digital or GSM calls AT CBST 0 0 1 connection with analog or GSM modems in multistandard V 32 AT CBST 7 0 1 connection with analog or GSM modems only in V 32 at 9600bit s AT CBST 71 0 1 connection with digital or GSM modem only in V 110 at 9600bit s 3 4 PocketGSM Functional Examples Attention check with your telephone operator if your SIM is enabled for DATA and eventually for FAX In fact most SIMs are enabled for Voice call and reception while for DATA and FAX only the call is enabled To enable the reception of DATA and FAX traffic it is necessary to ask the telephone operator that will assign two additional numbers one to receive DATA calls and one to receive FAX calls Exam
7. LED INDICATORS Through two led indicators you can control the status of Pocket GSM LED STATUS DESCRIPTION POWER OFF No power supply ON Power supply on STATUS OFF No power supply ON PocketGSM is in one of the following status network search mode SIM card not present PIN not inserted emergency mode SLOW BLINKING PocketGSM detected by the GSM network FAST BLINKING PocketGSM connected to another device PocketGSM is ready to work only after it has been registered by the GSM network and with a good quality signal To verify that PocketGSM is ready for calls and SMS follow these commands COMMAND DESCRIPTION AT CPIN Verifies the presence of the SIM and the PIN code AT CREG Verifies the registration to the GSM network AT COPS Verifies the current GSM operator AT CSQ Verifies the quality of GSM signal For further information about commands see the chapters Functional Examples and AT Commands you ll find the AT Commands chapter in the user s manual present on Digicom website 9 digicom PocketGSM Installation 2 6 CONNECTOR FOR THE VOICE MANAGEMENT For the voice functionality Pocket GSM is equipped with a double ended audio interface on RJ6 female connector with the same Pin out of a standard telephone handset The interface can be connected both to a handset or to a loud speaking telephone VOICE connector Pin Out RJ6 1 Microphone 2 Speaker
8. REC READ The lt index gt value is ignored 2 Delete all the received read saved and sent messages REC READ and STO SENT The lt index gt value is ignored 3 Delete all the received read saved sent and unsent messages REC READ STO SENT and STO UNSENT The lt index gt value is ignored 4 Delete all messages The lt index gt value is ignored 9 digicom 4 27 PocketGSM AT Commands AT CMGL Messages List This command displays the list of the SMS messages stored in the SIM memory For further information on AT CMGL command see the chapter Functional Examples Command Possible answers Action AT CMGL lt stat gt OK ERROR Shows the list of SMS lt stat gt Display method Text mode PDU mode Description REC UNREAD 0 Displays all the received unread messages REC READ 1 Displays all the received and read messages STO UNSENT 2 Displays all the stored unsent messages STO SENT 3 Displays all the stored sent messages ALL 4 Display all the messages AT CMGR Display message This command allows to display a specific SMS stored in the SIM memory For further information on AT CMGR command see the chapter Functional Examples Command Possible answers Action AT CMGR lt index gt OK Shows the message AT CMGS Send SMS This command is used to send a SMS message in Text mode For further information on AT CMGS command s
9. and Cell Broadcast Service CBS e ITU T Recommandation V 25ter Serial asynchronous automatic dialling and control The factory configuration of PocketGSM accepts AT commands only at 9600bit s the PocketGSM GPRS only at 115200bit s Before going on you must set your terminal emulator e g HyperTerminal or your application with these values Bit per second 9600 with PocketGSM GPRS 115200 data bit parity None stop bit l flow control Hardware RTS CTS Use the commands AT IPR AT ICF AT IFC to change the modem interface speed and the flow control 4 1 COMMANDS NOTES Please read these before using PocketGSM e The commands always start with AT it means Attention and end with lt CR gt Hex 0D character e The answer messages in extended format ATV1 command start and end with lt CR gt lt LF gt Hex 0D 0A If Pocket GSM is programmed to manage numeric answers Q igicom 4 1 PocketGSM AT Commands ATVO then the answer will not have the prefix lt CR gt lt LF gt and will be ended with the lt CR gt character e To disable the answer messages use ATQ1 command e lf the syntax of the command is wrong the modem sends the answer ERROR e f the syntax of the command is correct but some incorrect parameters are used the strings CME ERROR lt Err gt or CMS ERROR lt SMSErr gt are sent with different error codes e Ifthe command has been successfully executed the answer will be
10. command the connection will be ended Note the escape sequence works only with AT ICF 3 4 8N1 or 5 1 7E1 Command Possible answers Action OK Return to command mode 9 digicom PocketGSM AT Commands AT CGMM Model identification Command Possible answers Action AT CGMM MULTIBAND 900E 1800 Device identification OK AT CGMR Modem firmware release Command Possible answers Action AT CGMR 432a09gm 2D Modem firmware release OK AT CGSN Product Serial Number IMEI Command Possible answers Action AT CGSN 012345678901234 International Mobile Equipment Identity IMEI of the GSM module OK AT CIMI IMSI International Mobile Subscriber Identity This command is used to read and identify the IMSI of the SIM card Command Possible answers Action AT CIMI 222016200858803 222 Mobile Country Code 222 Italy OK 01 Mobile Network Code 01 Tim 6200858803 Mobile Subscriber Identification Number AT IPR Fixed DTE rate This command specifies the data rate at which the modem will accept data from the DTE e g PC the answer messages from the modem will use the same speed 4 8 PocketGSM AT Commands Command Possible answers Action AT IPR lt speed gt OK ERROR Set the interface rate AT IPR IPR 9600 Shows the current speed AT IPR IPR 0 2400 Shows the available speeds Default AT IPR 9
11. e Dust humidity heat from direct sun light e Objects which irradiate heat These could cause damage to the container or other problems e Objects which produce a strong electtromagnetic field loudspeakers etc e Liquids or chemical corrosive substances CLEANING THE TERMINAL Use a clean and soft cloth Wet the cloth with water or natural detergent if it is necessary to remove any stains Never use chemical products such as petrol or solvents VIBRATIONS OR DROPPING Caution against vibrations and dropping DECLARATION OF CONFORMITY We Digicom S p A registered office at via Volta 39 21010 Cardano al Campo Varese Italy declare under our sole responsability that the product Name POCKET GSM Type Modem Dual Band GSM 900 1800MHz satisfies the basic requirement of the below indicated Directive 1999 5 CE of March 9 1999 R amp TTE as having been designed in conformity with the requirements of following Reference Standards EN 60950 EN 301 489 1 EN 301 489 7 EN 301 419 1 EN 301 511 PocketGSM Introduction 1 INTRODUCTION Congratulation on choosing digicom PocketGSM Pocket GSM is a GSM Dual Band modem EGSM900 DCS1800 perfect for DATA SMS FAX and VOICE applications It has been designed to operate on any digital GSM network both directly and in roaming PocketGSM is compliant with GSM Class 4 900Mhz and Class 1 1800 Mhz The dual band functionality depends on the network Please refer to GSM provider
12. for the availability of the service 1 1 TECHNICAL FEATURES Power Supply Power Supply from 5 to 32 Vdc Temperature Operating from 20 C to 55 C Storage from 20 C to 70 C Connectors Power Supply amp I O Mini Fit 12 pin Molex 556912A1 Data interface 9 pin RS232 V24 V28 Antenna SMA female Audio RJ6 female telephone handset SIM Plug In 3V Size Size 87x75x25mm Weight about 130gr 1 2 WARNINGS Satefy Read carefully these instructions and notes before powering PocketGSM For each situation please follow the specific instructions 1 1 9 digicom PocketGSM Introduction PocketGSM is a low power radio transmitter and receiver When it is ON it sends receives radio frequency RF signals PocketGSM produces magnetic fields Do not place it next to magnetic support such as floppy disks tapes et Operating your modem close to other electrical equipment such as television phone radios and personal computer may cause interference Interference PocketGSM like all wireless devices is subject to interferences that may reduce its performances Road Safety Do not use PocketGSM while driving In case of use on cars it is necessary to check that electronic equipment is shielded against RF signal Do not place PocketGSM over the air bag or in the air bag deployment area Aircraft Safety Switch off PocketGSM in aircraft by disconnecting the Power cable Using GSM devices on aircr
13. network reading only CLIR Service not available CLIR Service available Service Status Unknown no network CLIR Service temporary suspended CLIR Service temporary available RON 0O AT CMEE Report Mobile Equipment errors This command enables the report CME ERROR lt err gt and CMS ERROR lt SMSerr gt with the indication of the error code instead of a generic answer See Appendix A for error codes 9 digicom 4 13 PocketGSM AT Commands Command Possible answers Action AT CMEE 0 OK Report disabled AT CMEE 1 OK Report enabled AT CMEE CMEE 0 Shows the current settings Default AT CMEE 0 AT COPS Operator selection PocketGSM can automatically detect the GSM operator both directly and in roaming With this command you can check the current provider Moreover in extreme cases it is possible to force the registration to a specific provider in this case check the registration status with the command AT CREG With the command AT COPS it is possible to verify the situation of the operators 0 unknown operator 1 operator is available 2 current operator 3 the operator is forbidden and cannot be selected For further information on AT COPS command see the chapter Functional Examples Command Possible answers Action AT COPS lt mode gt OK ERROR Selects the operator lt format gt lt oper gt AT COPS COPS 0 2 22201 Shows the current operator AT COPS COPS 2 1 TIM
14. press it up to the end Do not force the SIM holder and verify the correct position SIM tipo PLUG IN 2 3 CONNECTION TO THE EXTERNAL ANTENNA To connect the external antenna go on as follows 1 Turn off your Pocket GSM by disconnecting the power connector 2 Connect the SMA male connector to the external antenna of Pocket GSM screwing it clockwise 3 Place the antenna and check there is a good quality signal PA PocketGSM Installation You can check the signal e Using a cellular phone Insert the SIM of the PocketGSM in a cellular phone and check the quality of the signal e Through the Led STATUS Power on the modem and verify the STATUS Led If it is red blinking it means the modem is recognized by the GSM network In this way you can check the signal but not its quality Attention even if you see the STATUS Led blinking it may not be sufficient for data transmission e Through the AT CSQ command By using this command it is possible to detect a more precise signal Power on PocketGSM and connect it to a Personal computer using a serial cable With a hyperterminal send to the modem the command AT CSQ The modem will answer with CSQ x y where x is the signal quality y is the BER But Error Rate The value of x can be included between 0 to 31 the higher value indicates a better signal From 0 to 9 poor From 10 to 15 good From 16 to 31 excellent 99 Unknown or uncalculable BER value
15. 0123456789 L Redial the last called telephone number ATDL gt text Call to the number in the phonebook associated with the text indentifier by AT CPBS command ATD gt Digicom gt mem lt idx gt Call to the number contained in mem position n ATD gt SM2 gt n Call to the number stored in the position n of the current phonebook it can be selected with the AT CPBS command ATD gt 1 ATE Echo command When the modem receives a command it executes the echo of the received characters With this command it is possible to enable and disable the echo Command Possible answers Action ATEO OK Echo disabled ATE1 OK Echo enabled Default ATE1 ATH Hang up When the modem is on line after the escape sequence this command forces the modem to disconnect Command Possible answers Action ATH OK The modem disconnects 9 digicom PocketGSM AT Commands ATO Back to On Line mode If you have to interrupt the data flow temporarily to verify the modem status or some registers without disconnecting you can use the escape sequence Then send the ATO command to return to data mode Command Possible answers Action ATO CONNECT Back to On Line mode ATQ Answer messages This command is used to enable and disable the modem answers Command Possible answers Action ATQO OK Answer messages enabled ATQ1 OK Answer messages disabled Default ATQO
16. 44 159 12 db 160 175 14 db 176 191 16 db 192 207 18 db 208 223 20 db 224 239 22 db 240 255 24 db 9 digicom PocketGSM Appendix A A 3 1 Values of the Microphone transmission AT VGT lt val gt Values for Values for telephone handset loud speaking telephone lt val gt Gain lt val gt Gain 0 31 30 db 0 0 db 32 63 33 db 1 0 5 db 64 95 36 db 2 1 db 96 127 39 db 3 1 5 db 128 159 42 db si da 160 191 45 db 19 9 5 db 192 223 48 db 20 10 db 224 255 51 db 21 60 30 db 61 30 5 db 62 31 db 101 50 5 db 102 127 51 db 128 243 6 5 db 244 6 db 245 5 5 db 246 5 db 255 0 5 db e e 21010 Cardano al o gt d 9 l CO m via A Volta 39
17. 600 the PocketGSM GPRS AT IPR 115200 lt speed gt Description 0 Autobaud enabled the modem automatically detects the speed monitoring the received AT command From 300 to 115200 bit s Interface speed set at one of the following values 300 600 1200 2400 4800 9600 19200 38400 57600 115200 bit s AT ICF Data format This command allows to select the data synchronous format the modem will use to accept data from the DTE e g PC the modem answer messages will use the same format Note a data format different from 8N1 AT ICF 3 4 disables the autobaud AT IPR 0 if active If the data format is set at 8N1 the autobaud is automatically enabled Comando Possibili risposte Azione AT ICF lt format gt lt parity gt OK ERROR Set data format AT ICF ICF 5 1 Shows the current settings AT ICF ICF 1 6 0 4 Shows the available settings Default AT ICF 3 4 lt format gt Data Format 1 Data 8bit Parity Obit None Stop 2bit 2 Data 8bit Parity 1bit Stop 1bit 3 Data 8bit Parity Obit None Stop 1bit E 4 Data 7bit Parity Obit None Stop 2bit oO 5 Data 7bit Parity tbit Stop tbit a 6 Data 7bit Parity Obit None Stop 1bit O Q 4 9 PocketGSM AT Commands lt parity gt Parity Format 0 Odd 1 Even 2 Mark 3 Space 4 None Examples AT ICF 3 4 Data 8bit Parity None Stop 1bit AT ICF 5 0 Data 7bit Parity Odd Stop 1bit AT ICF 5 1 Data 7bit Par
18. CBST CBST 0 0 1 Shows the current settings AT CBST CBST 0 7 0 Shows the available settings Default AT CBST 0 0 1 lt speed gt lt mode gt lt ce gt Description 0 0 1 Multistandard 1 0 1 V 21 300 bit s No Transparent 2 0 1 V 22 1200 bit s No Transparent 4 0 1 V 22 bis 2400 bit s No Transparent 6 0 1 V 32 4800 bit s No Transparent 7 0 1 V 32 9600 bit s No Transparent 66 0 1 V 110 1200 bit s No Transparent 68 0 1 V 110 2400 bit s No Transparent 70 0 1 V 110 4800 bit s No Transparent 71 0 1 V 110 9600 bit s No Transparent 9 digicom PocketGSM AT Commands AT CEER Extended error report This command gives a report with the cause of the last disconnection See Appendix A for the error codes Command Possible answers Action AT CEER CEER Error lt err gt Cause of last disconnection OK AT CFUN Modem Restart The AT CFUN 1 command is used for a software reset of the modem this means also a new registration to the GSM network Before carrying out a reset we suggest to save the current configuration AT amp W The AT CFUN 0 or AT CPOF commands are used to switch the modem in Stand by mode during this phase the modem is disconnected from the GSM network To exit from the Stand by mode use the AT CFUN 1 command Command Possible answers Action AT CFUN 0 o AT CPOF OK Modem in Stand by AT CFUN 1 OK Modem restart AT CLIP Calling Line Identification CLI When receiving a cal
19. CMGL 2 REC UNREAD 393217654321 01 01 75 12 05 46 04 Second SMS message with PocketGSM To display all the messages present in the SIM memory Command AT CMGL ALL Answer CMGL 1 REC READ 393217654321 01 01 75 12 05 46 04 First SMS message with Pocket CMGL 2 REC UNREAD 393217654321 01 01 75 12 06 26 04 Second SMS message with PocketGSM OK 9 digicom PocketGSM Functional Examples Through the AT CNMI command it is possible to program the PocketGSM so as it sends immediately the received message to the DTE eg PC Command AT CNMI 2 2 Answer OK With this configuration PocketGSM sends immediately the message to the DTE when it receives it from the network CMT 393217654321 01 01 75 12 06 14 00 First SMS message with Pocket GSM Cancel the SMS For example to cancel the second message Command AT CMGD 2 Answer OK For further information see the chapter AT Commands present in the user s manual on Digicom website PocketGSM AT Commands 4 AT COMMANDS PocketGSM supports a complete AT commands set to configure and test the modem and all its functionalities These commands are based on the following recommandations e ETSI GSM 07 07 Digital cellular telecommunications system Phase 2 AT command set for GSM Mobile Equipment ME e ETSI GSM 07 05 Digital cellular telecommunications system Phase 2 Use of DTE DCE interface for Short Message Service SMS
20. LIP CMEE CMGF CNMI COPS CR CRC CREG CSMP ECHO ILRR SIDET SPEAKER VGR VGT AT amp S Data Set Ready C107 This command defines the management of DSR C107 criterion present on the modem serial port If controlled AT amp S1 the DSR ON indicates a connection with a remote device When OFF it indicates the disconnection with the remote modem If forced AT amp SO regardless of the status connected disconnected the DSR is always ON Note Data Set Ready can be controlled in DATA and FAX modes only 4 6 PocketGSM AT Commands Command Possible responses Action AT amp SO OK Data Set Ready always ON AT amp S1 OK Data Set Ready is controlled and follows the connection status Default AT amp S1 AT amp V Display configuration Command Possible answers Action AT amp VO OK Displays the current configuration AT amp V1 OK Displays the stored configuration AT amp V2 OK Displays the factory configuration AT amp W Save current configuration This command saves the active configuration in the EEPROM Command Possible answers Action AT amp W OK Saves the configuration This commands can be saved with AT amp W E Q SO V amp C amp D amp S CBST CLIP CMEE CMGF COPS CR CRC CREG ICF IFC ILRR IPR SIDET SPEAKER VGR VGT Escape command By sending the escape sequence the modem switches from data to command mode If the escape sequence is followed by the ATH
21. OK In some cases such as AT CPIN the modem will return the information requested without OK In the Functional Examples and in the AT commands description the characters lt CR gt and lt CR gt lt LF gt have been intentionally omitted 4 2 AT COMMANDS DESCRIPTION 4 2 1 GENERAL COMMANDS ATA Answer an incoming call When the modem receives a call it sets the Ring Indicator signal and sends to the DTE e g PC the RING string or CRING lt type gt if AT CRC 1 If the automatic answer is disabled ATSO 0 the ATA command enables the answer to an incoming call Command Possible answers Action ATA CONNECT DATA call accepted OK VOICE call accepted ATD Dial command This command will dial the number entered after the ATD string When the modem detects the carrier from the GSM base station it will answer with the message CONNECT at this point the data transmission starts For further information on ATD command see chapter Functional Examples 4 2 PocketGSM AT Commands Command Possible answers Action ATD lt str gt CONNECT DATA FAX connection is established OK VOICE connection is established BUSY Remote device busy NO ANSWER No answer from the called number NO CARRIER Failed or refused call lt str gt Description Examples Numbers 0 9 National call ATD0123456789 International call ATD 987654321 At the end of the number for the VOICE calls ATD
22. Operation not supported 5 PH SIM PIN required 10 SIM not inserted 11 SIM PIN required 12 SIM PUK required 13 SIM failure 16 Incorrect password 20 Memory full 21 Invalid index 22 Not found 24 Text string too long 26 Dial string too long 30 No network service 32 Network not allowed emergency calls only 40 Network personalisation PIN Required Network lock 9 digicom PocketGSM Appendix A A 2 1 CMS ERROR lt SMSerror gt Report Error Codes lt SMSerror gt Description Da 1 a127 301 302 303 304 305 310 311 312 313 316 317 318 321 322 330 340 Error cause values from the GSM recommendation 04 11 Annex E 2 SMS service of ME reserved CSMS Operation not allowed All SMS commands Operation not supported All SMS commands Invalid PDU mode parameter Invalid text mode parameter M not inserted All SMS commands M PIN required All SMS commands H SIM PIN required All SMS commands M failure All SMS commands M PUK required All SMS commands M PIN2 required All SMS commands M PUK2 required All SMS commands valid memory index M memory full SC address unknown No CNMA acknowledgement expected CNMA NNNUNN NS PocketGSM Appendix A A 3 Values of the speaker gain AT VGR lt val gt lt val gt Speaker gain 0 15 6 db 16 31 4 db 32 47 2 db 48 63 0 db 64 79 2 db 80 95 4 db 96 111 6 db 112 127 8 db 128 143 10 db 1
23. UTPUT1 Set OUTPUT2 Reset 4 OUTPUT1 Reset OUTPUT2 Set 6 OUTPUT1 Set OUTPUT2 Set Remember The Open Collector outputs are usually OPEN 4 34 PocketGSM AT Commands Possible settings AT WIOM 6 0 GPIOO INPUT2 GPO1 OUTPUT1 initial state Reset GPO2 OUTPUT2 initial state Reset GPI3 INPUT1 GPIO4 INPUT3 GPIO5 INPUT4 AT WIOM 6 2 GPIOO INPUT2 GPO1 OUTPUT1 initial state Set GPO2 OUTPUT2 initial state Reset GPI3 INPUT1 GPIO4 INPUT3 GPIO5 INPUT4 AT WIOM 6 4 GPIOO INPUT2 GPO1 OUTPUT1 initial state Reset GPO2 OUTPUT2 initial state Set GPI3 INPUT1 GPIO4 INPUT3 GPIO5 INPUT4 AT WIOM 6 6 GPIOO INPUT2 GPO1 OUTPUT1 initial state Set GPO2 OUTPUT2 initial state Set GPI3 INPUT1 GPIO4 INPUT3 GPIO5 INPUT4 E 2 5 Q 4 35 PocketGSM AT Commands AT WIOR Read GPIO value This command reads the current state Reset or Set of an Input It is not possible to read the state of an Output Trying to read an Output status will cause an ERROR Command Possible answers Action AT WIOR lt Index gt WIOR lt Val gt Reads the current status lt Index gt Digital Input index values 0 3 4 5 AT WIOR 3 Reads the Digital Input 1 status AT WIOR 0 Reads the Digital Input 2 status AT WIOR 4 Reads the Digital Input 3 status AT WIOR 5 Reads the Digital Input 4 status lt Val gt Digital Input state 0 Reset 1 Set AT WIOW Write GPIO value This command writes the state Reset o Set of an Output I
24. aft is illegal Hospital Safety Do not use PocketGSM near health equipment especially pacemaker and hearing aids to avoid potential interferences PocketGSM is a not mobile phone do not use it in direct contact with the human body Switch it off in hospitals and medical center Hospitals or health care facilities may be using equipment hat could be sensitive to external RF energy we Explosive Materials Do not use PocketGSM in refuelling points near fuel or chemicals Do not use the PocketGSM where blasting is in progress Observe restrictions and follow any regulation or instruction Instructions for use Do not use PocketGSM in direct contact with the human body do not touch the antenna if not necessary when the phone is in use Use approved accessories and batteries only Do not connect incompatible products 1 2 PocketGSM Installation 2 INSTALLATION The GSM modem installation must be carried out between a range of temperature indicated in the manual Attention the power supply voltage must not exceed the indicated maximum value as this may cause a damage of the product 2 1 PIN OUT CONNECTOR Connect the serial port of your device to PocketGSM through a 9 pin RS232 right standard connector This table describes the position of the signals on Pocket GSM connector 9 pin female connector DCE Pin Description Initials 1 Data Carrier Detect DCD 2 Receive Data RD 3 Transmitted D
25. ata TD 4 Data Terminal Ready DTR 5 Signal Ground GND 6 Data Set Ready DSR 7 Request To Send RTS 8 Clear To Send CTS 9 Ring Indicator RI In case your application supports TD and RD transmission and reception signals only it is possible to connect it to the Pocket GSM In this case it is important to configure PocketGSM to ignore the not present criteria For further information about commands see the chapters Functional Examples and AT Commands you ll find the AT Commands chapter in the user s manual present on Digicom website The modem can receive AT commands at the speeds between 300 and 115200 bit s A 2 1 9 digicom PocketGSM Installation 2 2 SIM CARD Plug in SIM are supported by PocketGSM To prevent damaging or losing information avoid touching the sim gold area Attention Check with your GSM provider if your SIM is enable for data and fax traffic if not ask him for this service he will give you other two numbers one for data calls and the other for fax calls Insert the SIM Probably the SIM card will be supplied in a card holder compliant with the devices using the full size SIM 1 Remove the SIM carefully from the SIM holder 2 Turn off Pocket GSM by disconnecting the power connector 3 Discover the SIM slot and press on the release pin with a finger or a pencil 4 Insertthe SIM card into the holder Be sure the angled corner is top right 5 Close the SIM holder and
26. ation see the chapter AT Commands present in the user s manual on Digicom website A PIN management B PocketGSM ready to work C Serial cable not completed D Data transfer E SMS Management Text mode o o a O Q PocketGSM Functional Examples A PIN MANAGEMENT Due to security reasons usually SIM cards require the insertion of PIN code With Pocket GSM you can insert the PIN code through the AT CPIN command If your application has other security systems you can disable the PIN request using a mobile phone Examples Command AT CPIN Answer ERROR Answer CPIN READY Answer CPIN SIM PIN Answer CPIN SIM PUK Answer CPIN SIM PIN2 Verify the SIM and the PIN status SIM card reading failed PIN code present SIM ready PIN code insertion is required PUK code insertion is required PIN2 code insertion is required In case the PIN code is not present it must be inserted before using the SIM card Command Answer Answer AT CPIN 4321 OK ERROR PIN insertion PIN code right PIN code wrong Attention remember that if the PIN code is wrongly inserted for three times the SIM card will block To unblock it you must insert the PUK code For further information see the chapter AT Commands present in the user s manual on Digicom website PocketGSM Functional Examples B POCKET GSM READY TO WORK PocketGSM can work only after it has been detected by
27. ays Thanks to this characteristic you will be able to build a complete application using a single device e you can detect the status change of an input and send an SMS alarm e you can receive a specific SMS and control a output relay In this paragraph you find the characteristics of the General Purpose Input Output GPIO and the AT commands to control them MINIFIT CONNECTOR The inputs the outputs and the power supply are managed through a Minifit connector 12 pin Frontal view PIN Description Wire color 1 OUTPUT 2 Open Collector GPO2 Yellow 2 OUTPUT 1 Open Collector GPO1 Green pren 3 INPUT DIGITALE 4 GPIO5 Blue 4 INPUT DIGITALE 3 GPIO4 Light Blue O FT 5 INPUT DIGITALE 2 GPIOO Brown 2 6 5 43 6 INPUT DIGITALE 1 GPI3 Violet 7 NC White 8 NC Grey 9 from 5 to 32Vdc Red 10 GND Black 11 INPUT ANALOGICO 2 ADC2 Pink 12 INPUT ANALOGICO 1 ADC1 Orange 0 If you use the complete connector with 12 cables 4 30 PocketGSM AT Commands Power on PocketGSM connecting the cable with the correct polarity pin9 positive from 5 to 32Vdc pin 10 negative GND The modem has a special protection in case you accidentally invert the polarity CHARACTERISTICS OF GPIO CONTACTS PocketGSM supports e 4 digital inputs two logical states ON OFF e 2 analog inputs e 2 output open collector Digital Inputs Two status are supported for each input open or closed to ground
28. ching for a new operator Modem registered with the same operator of the SIM card Modem not registered PocketGSM is searching for a new operator Registration denied Registered at an unknown network Modem registered in roaming 4 16 PocketGSM AT Commands lt lac gt Location Area Code in hexadecimal format e g 00C3 is the same as 195 in decimal lt ci gt Cell ID in hexadecimal format AT CSQ GSM Signal Quality This command is used to control the GSM quality signal For further information on AT CSQ command see the chapter Functional Examples Command Possible answers Action AT CSQ CSQ lt rssi gt lt ber gt Reads the signal power and ber OK lt rssi gt Reception level 0 113 dBm or less 1 111 dBm 2 30 109 53 dBm 31 51 dBm or greater 99 unknown or not detectable Note each unit corresponds to 2 dBm bit error rate ber lt 0 2 0 2 lt ber lt 0 4 0 4 lt ber lt 0 8 0 8 lt ber lt 1 6 1 6 lt ber lt 3 2 3 2 lt ber lt 6 4 6 4 lt ber lt 12 8 ber gt 12 8 unknown or not detectable GO PDA o Vv o 9 digicom PocketGSM AT Commands 4 2 3 PHONEBOOK COMMANDS AT CPBS Select Phonebook This command selects the memory to be used for the phonebook Command Possible answers Action AT CPBS lt storage gt OK ERROR Select the current phonebook memori AT CPBS CPBS lt storage gt lt us
29. connection this command disables the microphone while the speaker is always active Command Possible answers Action AT CMUT 0 OK Microphone enabled AT CMUT 1 OK Microphone disabled MUTE AT CMUT CMUT 0 Shows the current settings Default AT CMUT 0 AT VTS Send DTMF tones During a voice connection this command sends the DTMF tones to allow the surfing in vocal servers Note wait always the OK before sending another tone Command Possible answers Action AT VTS lt DTMF gt OK ERROR Send the specified DTMF tone E lt DTMF gt DTMF tones cS 0 9 Numbers from 0 to 9 a character oO Asterisk character Q A D A B C D characters og 4 21 PocketGSM AT Commands AT VTD Length of the DTMF tone This command is used to increase or reduce the length of the DTMF tone sent with the command AT VTS Command Possible answers Action AT VTD lt time gt OK ERROR Sets the length of the DTMF tone AT VTD VTD 1 Shows the current settings Default AT VTD 1 lt time gt DTMF tones 1 100 milliseconds 2 200 milliseconds 10 1 second AT VGR Speaker gain control This command is used to set the receiving level of the speaker See Appendix A for the values of the speaker gain Command Possible answers Action AT VGR lt val gt OK ERROR Sets the receiving level of the speake AT VGR VGR 64 Shows the current settings AT VGT Microphone gain
30. control This command is used to set the transmission level of the microphone See Appendix A for the values of the microphone gain Command Possible answers Action AT VGT lt val gt OK ERROR Sets the transmission level of the microphone AT VGT VGT 64 Shows the current settings 4 22 PocketGSM AT Commands AT ECHO Echo cancellation This command enables the echo cancellation for voice calls in small rooms It could be necessary to act on the AT VGT and AT VGR commands for a best voice quality Command Possible answers Action AT ECHO lt mode gt lt algold gt OK ERROR Sets the echo cancellation AT ECHO ECHO lt status gt lt algold gt Shows the current settings lt mode gt Mode 0 Echo disabled 1 Echo enabled Note you can enable disable the echo cancellation during a call without restarting the modem if you don t change the Algorithm lt algold gt Algorithm 1 Echo cancellation 1 3 Echo cancellation 3 lt status gt Status 0 Eco disabled 1 Eco enabled for telephone handset 2 Eco enabled for loud speaking telephone 3 Module reset AT SIDET SideTone Control This command is used to set the echo level of the voice in the speaker to have a microphone feedback in the speaker Command Possible answers Action AT SIDET 0 lt val gt OK ERROR SideTone disabled AT SIDET 1 lt val gt OK ERROR SideTone enabled AT SIDET SIDET 1 1 Shows
31. d AT amp C1 the DCD ON indicates the connection with a remote device If forced AT amp CO regardless of the status connected disconnected the DCD is always ON Note Data Carrier Detect can be controlled in DATA and FAX modes only Command Possible answers Action AT amp CO OK Data Carrier Detect always ON AT amp C1 OK Data Carrier Detect is controlled and follows the connection status Default AT amp C1 9 digicom PocketGSM AT Commands AT amp D Data Terminal Ready C108 This command defines the management of the DTR C108 on the modem serial port The DTR comes from the DTE e g PC to the modem for this reason the criterion can be present or absent If absent the modem must be configured to ignore the criterion AT amp DO If present the modem will accept the call only if the criterion is ON For further information on AT amp D command see chapter Functional Examples Command Possible answers Action AT amp DO OK DTR is ignored AT amp D1 OK Modem switches from data to command mode when DTR switches from ON to OFF AT amp D2 OK When DTR switches from ON to OFF the modem disconnects Default AT amp D2 AT amp F Restore factory settings This command is used to load the factory settings for the command listed in the table Command Possible answers Action AT amp F OK Loads the factory configuration Commands restored with AT amp F Q SO V D CBST C
32. de gt lt mt gt Shows the current settings Default AT CNMI 0 1 lt mode gt Display Mode 2 If the modem is Off line the message will be displayed on the DTE in lt mt gt format If the modem is On line the message will be displayed on the DTE in lt mt gt format at the end of the connection 0 1 3 Equal to 2 lt mt gt Report format 0 No report 1 Report with format CMTI lt mem gt lt index gt 2 Report with format CMT lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid gt lt dcs gt lt sca gt lt tosca gt lt lengh gt lt data gt 4 26 PocketGSM AT Commands Examples 1 AT CNMI 2 1 Report CMTI SM 2 Description The received SMS has been stored in the location 2 of the SIM memory 2 AT CNMI 2 2 Report CMT 393217654321 01 01 75 12 06 14 00 First SMS message with PocketGSM Description the received SMS is displayed directly on the DTE AT CMGD Delete messages This command is used to delete the SMS messages stored in the SIM memory For further information on AT CMGD command see the chapter Functional Examples Command Possible answers Action AT CMGD lt index gt lt deflag gt OK ERROR Cancella i messaggi SMS lt index gt Memory index lt deflag gt Delete method 0 Delete the message in the lt index gt position If lt deflag gt value is omitted it will be equal at 0 1 Delete all the received and read messages
33. ed gt and the available memory lt total gt Default AT CPBS ME lt storage gt Phonebook ME Modem phonebook 250 memory locations SM SIM phonebook the number of locations depends on the SIM LD Last 10 dialled numbers RC Last 10 received calls lt used gt Locations used lt total gt Total locations AT CPBW Write and cancel a telephone number This command allows to write or to delete a telephone number in the current phonebook It can be selected with the command AT CPBS Command Possible answers Action AT CPBW lt index gt lt number gt OK ERROR Insert the telephone number lt type gt lt text gt AT CPBW lt index gt OK Cancel the telephone number AT CPBW CPBW lista lt index gt Shows the information on the lt ilength gt lista lt type gt memory of the selected phonebook lt tlength gt 4 18 PocketGSM AT Commands lt index gt Location where to save the telephone number lt number gt telephone number lt type gt 145 if lt number gt includes the character in the international prefix 129 if lt number gt does not include the character in the international prefix Note this parameter can be omitted lt text gt Mnemonic name of the telephone number lt ilength gt Max length for number lt tlength gt Max length for lt text gt Examples AT CPBW 1 39320xxxxxxx Ufficio R
34. ee the chapter Functional Examples Examples Command AT CMGS 39321 7654321 lt enter gt Answer gt Text First SMS message with PocketGSM lt ctrl z gt Answer CMGS lt sms index gt OK 4 28 PocketGSM AT Commands Compose your message press lt ctrl z gt Hex 1A To cancel the procedure press lt esc gt Hex 1B In this example the message First SMS message with Pocket GSM is sent to number 393217654321 AT CMSS Senda stored SMS This command is used to send a previously stored SMS message in Text format Check the memory location with the AT CMGL ALL command Command Possible answers Action AT CMSS lt index gt OK Sends the SMS message stored in lt index gt location AT CMGW Store an SMS This command is used to store an SMS message in text format into the SIM memory Examples Command AT CMGW 393217654321 lt enter gt Answer gt Text First SMS message with PocketGSM lt ctrl z gt Answer CMGW lt sms index gt OK Compose your message press lt ctrl z gt Hex 1A To cancel the procedure press lt esc gt Hex 1B In this example the message First SMS message with Pocket GSM is stored 9 digicom 4 29 PocketGSM AT Commands 4 2 6 GPIO COMMANDS GENERAL PURPOSE INPUT OUTPUT Besides the functionalities for the DATA SMS FAX and VOICE management Pocket GSM can also read some inputs contacts and control some output rel
35. gt CPBP Displays the identifier lt idx1 gt lt number gt lt type gt lt text gt associated with the specified number 4 2 4 VOICE COMMANDS PocketGSM can call another voice device with the ATD lt number gt command e g ATD0123456789 When the remote device answers the call PocketGSM will show the OK message For the voice functionality PocketGSM is equipped with a double ended audio interface on RJ6 female connector with the same Pin out of a standard telephone handset The interface can be connected both to a handset and to a loud speaking telephone In order to improve the quality of the voice it will be necessary to modify some parameters to delete the echo the noise etc In this paragraph you can find the commands necessary to improve the voice quality To save the configuration use the AT amp W command 4 20 PocketGSM AT Commands AT SPEAKER Speaker and Microphone selection With a single command you can set the factory parameters of the commands AT VGR AT VGT etc in this way you can quickly improve the quality of the voice Note Act also on AT VGR AT CGT commands to improve the quality of the voice If there is noise you could connect an external antenna with extension cable Command Possible answers Action AT SPEAKER 0 OK Configuration for telephone handset AT SPEAKER SPEAKER 0 Shows the current settings Default AT SPEAKER 0 AT CMUT Mute Control During a voice
36. ity Even Stop 1bit AT IFC Flow control This command is used to set the flow control to be used For further information on the AT IFC command see the chapter Functional Examples Command Possible answers Action AT IFC 0 0 OK Flow control disabled AT IFC 2 2 OK Enables the Hardware flow control RTS CTS AT IFC IFC 2 2 Shows the current flow control AT IFC IFC 0 2 0 2 Shows the available values Default AT IFC 2 2 AT ILRR Interface speed report This command gives a report for the serial port speed before the connection message Command Possible answers Action AT ILRR 0 OK Report disabled AT ILRR 1 OK Report enabled AT ILRR ILRR 0 Shows the current settings AT ILRR ILRR 0 1 Shows the available settings Default AT ILRR 0 4 10 PocketGSM AT Commands 4 2 2 07 07 GSM COMMANDS AT CBST Line Speed Setting This command is used to select the line speed and the protocol for the DATA calls If Multistandard is selected e when transmitting the modem sets with the maximum speed available on the GSM network for Italy V 32 9600 bit s e when receiving the modem recognizes the speed and the protocol suggested from the remote device For further information on AT CBST command see the chapter Functional Examples Command Possible answers Action AT CBST lt speed gt lt mode gt lt ce gt OK ERROR Sets the speed and the protocol AT
37. l this command allows to identify the calling number With the command AT CLIP It is possible to obtain the status of the CLIP Service in the network The caller ID is displayed after any RING message Command Possible answers Action AT CLIP 0 OK CLI displaying is disabled AT CLIP 1 OK CLI displaying id enabled AT CLIP CLIP 0 lt n gt Shows the current settings and the CLIP Service state AT CLIP CLIP 0 1 Shows the available settings Default AT CLIP 0 PocketGSM AT Commands lt n gt CLIP Service status in the network reading only 0 CLIP Service not available 1 CLIP Service available 2 Service Status Unknown no network AT CLIR Calling Line Identification restriction CLI This command allows to hide the Calling Line Identification to the remote device Note Independently from the setting of AT CLIR it is possible to add an i small letter at the end of the calling string to present the CLI to the remote user e g ATD0123456789i or the letter I capital letter to hide the CLI e g ADT01234567891 Command Possible answers Action AT CLIR 0 OK CLI presentation depends on the CLIR Sevice status AT CLIR 1 OK CLI is not displayed AT CLIR 2 OK CLI is displayed AT CLIR CLIR 0 lt n gt Shows the current settings and CLIR Service status AT CLIR CLIR 0 2 Shows the available settings Default AT CLIR 0 lt n gt CLIR Service status in the
38. nt OK If the Services Center number is not present ask the telephone operator then insert the identifier as follows Command AT CSCA 393359609600 eg TIM Services Center Answer OK Command AT CSAS Save the number of Services Center Answer OK Attention the above mentioned numbers Services Centers could be modified by the telephone operator In case of error after you send the SMS check the identifier of the Services Center with your Telephone Operator 2 Define the mode Command AT CMGF 1 TEXT mode Answer OK Command AT amp W Save the configuration Answer OK 3 Send a message Command AT CMGS 393217654321 lt enter gt Answer gt 3 6 PocketGSM Functional Examples Text First SMS message with Pocket GSM lt ctrl z gt Answer CMGS lt sms index gt OK After you digit yuor message press lt ctrl z gt Hex 1A In this example the message First SMS message with Pocket GSM is sent to number 393217654321 Attention In case of error after you send the SMS check the identifier of the Services Center with your Telephone Operator Read the SMS TEXT mode The factory configuration of PocketGSM detects the coming of a new SMS When an SMS arrives PocketGSM send to the DTE eg PC the following message CMTI SM 2 2 indicates the memory location of the SIM card where the SMS has been stored To read the message use the AT CMGR command Command AT CMGR 2 Answer
39. of Validity for the SMS This command is used to define period of validity of the message in the Services Center Command Possible answers Action AT CSMP lt fo gt lt vp gt OK ERROR Sets the period of validity lt pid gt lt dcs gt AT CSMP CSMP Shows the current settings lt fo gt lt vp gt lt pid gt lt dcs gt Default AT CSMP 1 167 lt fo gt Reserved value is 1 do not modify lt vp gt Period of validity 11 1 hour 71 6 hours 167 24 hours 173 1 week 255 Higher lt pid gt Reserved lt dcs gt Reserved AT CSAS Save settings This command allows to save the settings of the following commands AT CSCA AT CSMP and AT CNMI For further information on AT CSAS command see the chapter Functional Examples Command Possible answers Action AT CSAS OK Save the current settings 4 25 9 digicom PocketGSM AT Commands AT CRES Restore settings This command restores the setting of the following commands AT CSCA AT CSMP and AT CNMI Command Possible answers Action AT CRES OK Restore the saved settings AT CNMI Indication of New incoming message This command displays a report when a new SMS arrives For further information on AT CNMI command see the chapter Functional Examples Command Possible answers Action AT CNMI lt mode gt lt mt gt OK ERROR Select the report display mode AT CNMI CNMI lt mo
40. oma Location 1 inserted AT CPBW 2 320xxxxxxX 129 Ufficio Napoli Location 2 inserted AT CPBW 3 320xxxxxxx Casa Location 3 inserted AT CPBW 3 Location 3 cancelled AT CPBR Read a telephone number This command is used to read a telephone number in the current phonebook and can be selected with the command AT CPBS Command Possible answers Action AT CPBR lt idx1 gt lt idx2 gt CPBR Reads the numbers in the phonebook lt idx1 gt lt number gt lt type gt lt text gt from lt idx1 gt to lt idx2 gt lt idx2 gt lt number gt lt type gt lt text gt lt idx1 gt e lt idx2 gt Location range AT CPBR 1 Read entry 1 AT CPBR 1 10 Read entries from 1 to 10 9 digicom 4 19 PocketGSM AT Commands AT CPBF Search for a telephone number knowing the stored text This command is used to find a telephone number inside the phonebook knowing the associated identifier e g starting with D Command Possible answers Action AT CPBF lt text gt CPBF Displays the telephone numbers lt idx1 gt lt number gt lt type gt lt text gt with the specified lt text gt identifier lt idx2 gt lt number gt lt type gt lt text gt AT CPBP Search for a telephone number knowing the number This command is used to find an identifier associated with a telephone number inside the phonebook knowing the number itself Command Possible answers Action AT CPBP lt number
41. on report This command enables the report CR lt type gt that identifies the current connection The report is given before the connection message Command Possible answers Action AT CR 0 OK Report disabled AT CR 1 OK Report enabled AT CR CR 0 Shows the current settings Default AT CR 0 9 digicom PocketGSM AT Commands AT CRC Cellular Result Code This command enables the report CRING lt type gt instead of the traditional RING message Command Possible answers Action AT CRC 0 OK Report disabled AT CRC 1 OK Report enabled AT CRC CRC 0 Shows current settings Default AT CRC 0 AT CREG GSM Network registration This command enables the automatic report to any change of status during the modem registration to the GSM network For further information on AT CREG command see the chapter Functional Examples Command Possible answers Action AT CREG lt n gt OK Report enabled or disabled AT CREG CREG lt n gt lt stat gt lt lac gt lt ci gt Shows the current registration status of the GSM modem to the network AT CREG CREG 0 2 Shows the available settings Default AT CREG 0 lt n gt 0 1 2 lt stat gt akwon o Report status Report disabled Report enabled with CREG lt stat gt Report enabled with CREG lt stat gt lt lac gt lt ci gt Registration status Modem not registered PocketGSM is not currently sear
42. password phone number For further technical information and for the driver see the Support area on our web site www digicom it or send a e mail to support digicom it 4 37 9 digicom PocketGSM Appendix A APPENDIX A A1 CEER Error lt err gt Report Error Codes lt err gt Description 1 Unassigned unallocated number 3 No route to destination 6 Channel unacceptable 8 Operator determined barring 16 Normal call clearing 17 User busy 18 No user responding 19 User alerting no answer 21 Call rejected 22 Number changed 26 Non selected user clearing 27 Destination out of order 28 Invalid number format incomplete number 29 Facility rejected 30 Response to STATUS ENQUIRY 31 Normal unspecified 34 No circuit channel available 38 Network out of order 41 Temporary failure 42 Switching equipment congestion 43 Access information discarded 44 Requested circuit channel not available 47 Resources unavailable unspecified 49 Quality of service unavailable 50 Requested facility not subscribed 55 Incoming calls barred with in the CUG 57 Bearer capability not authorized 58 Bearer capability not presently available A 1 9 digicom PocketGSM Appendix A 63 65 68 69 70 79 81 87 88 91 95 96 97 98 99 100 101 102 111 127 240 241 252 253 254 255 Service or option not available unspecified Bearer service not implemented ACM equal to or grea
43. ples Command AT CBST 7 0 1 V 32 call at 9600bit s Answer OK Command ATD0123456789 Answer CONNECT 9600 Command AT CBST 71 0 1 V 110 call at 9600bit s Answer OK Command ATD0123456789 Answer CONNECT 9600 DATA calls reception Generally in PocketGSM the automatic answer is disabled S0 0 in this case the modem will answer only after it received the ATA command In case you want to enable the automatic answer you must set the SO register with the number of rings after which to answer eg SO 2 automatic answer after two rings PocketGSM factory configuration has the AT CBST 0 0 1 setting in this way it will be able to answer to any call coming from an analog ISDN or GSM modem For further information see the chapter AT Commands present in the user s manual on Digicom website E SMS MANAGEMENT TEXT mode PocketGSM manages the SMS in TEXT and PDU format Send an SMS TEXT mode You find here the necessary commands to send SMS in TEXT mode 3 5 9 digicom PocketGSM Functional Examples 1 Reading and Setup of the Services Center To activate the SMS management you must insert the identifier number of the Services Center for your GSM operator In the most recent SIM cards the identifier is already present in memory to verify you can use a mobile phone or with Pocket GSM you can act as follows Command AT CSCA reading of Services Center Answer CSCA 393205858500 145 Services Center prese
44. s higher than 2 may compromise the good operation of the device In this case place the antenna in a better position For further information about commands see the chapters Functional Examples and AT Commands you ll find the AT Commands chapter in the user s manual present on Digicom website Attention for better performances of the supplied stilo antenna we suggest to position it upwards Try to fix Pocket GSM and its antenna at least one meter from the floor In case you use a different antenna do not fix it directly to the mechanics of the product or on metal surfaces 2 3 9 digicom PocketGSM Installation 2 4 POWER SUPPLY The inputs outputs and power supply use a Minifit 12 pin connector Frontal view PIN Description 1 OUTPUT 2 Open Collector GPO2 2 OUTPUT 1 Open Collector GPO1 3 DIGITAL INPUT 4 GPIO5 4 DIGITAL INPUT 3 GPIO4 5 DIGITAL INPUT 2 GPIOO 6 DIGITAL INPUT 1 GPI3 X N C 8 N C 9 Power supply from 5 to 32Vdc 10 GND 11 ANALOG INPUT 2 ADC2 12 ANALOG INPUT 1 ADC1 pin9 positive from 5 to 32Vdc pin 10 negative GND The modem has a special protection in case you accidentally invert the polarity The modem power supply must be included between 5 and 32 Vdc with ground negative Attention the power supply voltage must not exceed the indicated maximum value as this may cause a damage of the product 2 4 PocketGSM Installation 2 5
45. t is not possible to write the state of an Input Trying to write an Input status will cause an ERROR By default after a power off on the Output contact is set by AT WIOM command Command Possible answers Action AT WIOW lt Index gt lt Val gt OK ERROR Writes the output status lt Index gt Output index values 1 2 AT WIOW 1 lt Val gt Writes the Output 1 status AT WIOW 2 lt Val gt Writes the Output 2 status lt Val gt GPIO state 0 Reset 1 Set 4 36 PocketGSM AT Commands 4 2 7 GPRS COMMANDS GSM 07 07 The GPRS functionality is available only in some versions of PocketGSM If available for the best use of the GPRS function we suggest to set AT IPR 0 autobaud and to save the configuration with AT amp W command After the driver installation select in driver properties the interface speed at 115200 GPRS activation Verify with your GSM Operator the GPRS activation GPRS configuration To configure PocketGSM for GPRS connection you must send the AT CGDCONT to se the access profile to the service Check with the GSM Operator your access profile AT CGDCONT 1 IP APN You can insert the AT CGDCONT command in the Additional string in the driver properties or send the command by HyperTerminal and save it with AT amp W command Connection Now you are ready for a Dial Up connection and a GPRS connection using the drivers Verify with your GSM Operator the GPRS parameters e g User ID
46. ter than ACMmax Requested facility not implemented Only restricted digital information bearer capability is available Service or option not implemented unspecified Invalid transaction identifier value User not member of CUG Incompatible destination Invalid transit network selection Semantically incorrect message Invalid mandatory information Message type non existent or not implemented Message type not compatible with protocol state Information element non existent or not implemented Conditional IE error Message not compatible with protocol state Recovery on timer expiry Protocol error unspecified Interworking unspecified FDN is active and number is not in FDN Call operation not allowed Call barring on outgoing calls Call barring on incoming calls Call impossible Lower layer failure Note All other values in the range 0 to 31 shall be treated as cause 31 All other values in the range 32 to 47 shall be treated as cause 47 All other values in the range 48 to 63 shall be treated as cause 63 All other values in the range 64 to 79 shall be treated as cause 79 All other values in the range 80 to 95 shall be treated as cause 95 All other values in the range 96 to 111 shall be treated as cause 111 All other values in the range 112 to 127 shall be treated as cause 127 A 2 PocketGSM Appendix A A 2 CME ERROR lt error gt Report Error Codes lt error gt Description 3 Operation not allowed 4
47. the current settings 19 digicom 4 23 PocketGSM AT Commands lt val gt 0 1 2 3 AT VIP Description 0 db 6db 12db 18db Voice parameters Initialization This command allows to restore the factory settings for the voice parameters from EEPROM These voice parameters include AT SPEAKER AT CMUT AT VGR AT VGT AT ECHO AT SIDET Command Possible answers Action AT VIP 1 OK Restores the factory settings 4 2 5 SMS CONTROL COMMANDS GSM 07 05 AT CMGF Messages format This command is used to define the SMS format Short Message Service For further information on AT CMGF command see the chapter Functional Examples Command Possible answers Action AT CMGF 0 OK SMS in PDU mode AT CMGF 1 OK SMS in Text mode AT CMGF CMGF 1 Shows the current settings AT CSCA Service Center Number This command allows to set the Service Center number in the SIM card memory n error will occur if trying to send an SMS using a wrong number of the Services Center Verify with your GSM Operator the number of the Service Center For further information on AT CSCA command see the chapter Functional Examples 4 24 PocketGSM AT Commands Command Possible answers Action AT CSCA CSCA Service Center Address Displays the Service Center number AT CSCA Service Center OK Inserts the Service Center number Address AT CSMP Period
48. the network and with a good GSM signal To verify PocketGSM is ready to manage calls and SMS follow these commands Command Answer Command Answer Command Answer Command Answer AT CPIN CPIN READY AT CREG CREG 0 1 OK AT COPS COPS 0 2 22288 OK AT CSQ CSQ 15 0 OK SIM is ready GSM modem is registered by the network PocketGSM is registered at operator 22288 GSM signal good The CSQ value can be included between 0 and 31 where 0 1138dBm and 31 51dBm Every unit corresponds to 2 dBm From 0 to 9 not sufficient From 10 to 15 good From 16 to 31 excellent For further information see the chapter AT Commands present in the user s manual on Digicom website 9 digicom 3 3 PocketGSM Functional Examples C SERIAL CABLE NOT COMPLETED In case your application eg PLC supports only TD and RD signals Trasmission and Reception it is however possible to connect it to the PocketGSM In this case you will use a non completed serial cable for this reason it is important to configure PocketGSM so that it ignores the serial criteria not present Usually PocketGSM during the communication phase checks the following criteria 108 Data Terminal Ready and 105 Request To Send to disable them use the commands AT amp D and AT IFC Examples Command AT amp DO Criterion 108 ignored Command AT amp D2 Criterion 108 managed as per specification
49. tor 4700 to limit the current 12 1N4007 amp P o c c pin 1 k b o or e pin 2 o eH s pin 10 M 230v I 124 led P di a I c cf pini K b oror e pin 2 i sj pin 10 Sam Wace If you want to manage a lamp with 230V power supply you can connect an external rele and a diode 1N4007 or 1N4148 to protect the transistor inside the PocketGSM Note if you use a cable to connect the rele connect the diode close to the pin1 or pin2 of the PocketGSM to protect the transistor inside the PocketGSM 4 33 9 digicom PocketGSM AT Commands AT WIOM Input Output Configuration This command allows to configure the 6 contacts I O If they are configures as Output it is possible to establish the default status Reset or Set at every restart Command Possible answers Action AT WIOM lt IODir gt lt IOVal gt OK ERROR GPIO configured AT WIOM WIOM lt IODir gt lt IOVal gt Shows the current settings lt IODir gt GPIO direction Input or Output bit mapped register bit 0 0 GPIOO configured as Input 1 GPIOO configured as Output bit 1 1 GPO1 configured as Output bit 2 1 GPO2 onfigured as Output bit 3 0 GPI3 configured as Input bit 4 0 GPIO4 configured as Input 1 GPI04 configured as Output bit 5 0 GPIO5 configured as Input 1 GPIO5 configured as Output bit 6 7 Not used lt lOVal gt Output default value after reset bit mapped register 0 OUTPUT1 Reset OUTPUT2 Reset 2 O

Download Pdf Manuals

image

Related Search

Related Contents

VMX 200 - Onedirect  Page 1 Page 2 199 O É S \ . WW. BASE U131129 "M4" Synthétiseur  PC Troubleshooting  Phonix S8260GPA mobile phone case  Clarion SRP4620M User's Manual  USER MANUAL  DN-HD2500 - Landsons.com  1:50 f6II3IÎ SBI`ÎBS  Bedienungsanleitung  Internet Telephony /PBX System IPX-1500 User`s manual  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.