Digicom pocket GSM User Manual

Digicom pocket GSM User Manual

Dual-band modem

Advertisement

User's Guide
rev. 3.1 12/2004
http://www.digicom.it

Advertisement

Table of Contents
loading

Summary of Contents for Digicom pocket GSM

  • Page 1 User’s Guide rev. 3.1 12/2004 http://www.digicom.it...
  • Page 3: Table Of Contents

    PocketGSM Index INDEX PREFACE ENVIRONMENTAL CONDITIONS CLEANING THE TERMINAL VIBRATIONS OR DROPPING DECLARATION CE OF CONFORMITY 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.
  • Page 4 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&TTE...
  • Page 5: Introduction

    Introduction 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.
  • Page 6 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.
  • Page 7: Installation

    Ring Indicator 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”;...
  • Page 8: Sim Card

    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.
  • Page 9 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...
  • Page 10: Power Supply

    PocketGSM Installation 2.4. POWER SUPPLY The inputs, outputs and power supply use a Minifit 12 pin connector: Frontal view Description OUTPUT 2 (Open Collector) (GPO2) OUTPUT 1 (Open Collector) (GPO1) DIGITAL INPUT 4 (GPIO5) DIGITAL INPUT 3 (GPIO4) DIGITAL INPUT 2 (GPIO0) DIGITAL INPUT 1 (GPI3)
  • Page 11: Led Indicators

    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 ]...
  • Page 12: Connector For The Voice Management

    SNR (Signal to Noise Ratio) : > 50dBm Suggested characteristics for the speaker Type : 10mW, electro-magnetic Impedance : from 32 to 150 Ω 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 ]...
  • Page 13 PocketGSM Functional Examples 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.
  • Page 14 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 ]...
  • Page 15 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 ]...
  • Page 16 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.
  • Page 17 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.
  • Page 18 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:...
  • Page 19 +CMGS: <sms index> After you digit yuor message, press <ctrl z> (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.
  • Page 20 +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: [ For further information see the chapter “AT Commands” present in the user’s manual on Digicom website ]...
  • Page 21: At Commands

    Please read these before using PocketGSM: The commands always start with AT; it means Attention, and end with <CR> (Hex=0D) character. The answer messages in extended format (ATV1 command) start and end with <CR><LF> (Hex=0D 0A). If Pocket GSM is programmed to manage numeric answers...
  • Page 22: At Commands Description

    PocketGSM AT Commands (ATV0), then the answer will not have the prefix <CR><LF> and will be ended with the <CR> character. To disable the answer messages use ATQ1 command. If the syntax of the command is wrong, the modem sends the answer ERROR If the syntax of the command is correct but some incorrect parameters are used, the strings +CME ERROR: <Err>...
  • Page 23 Redial the last called telephone number ATDL >”text” Call to the number in the phonebook associated with the “text” indentifier (by AT+CPBS command) ATD>”Digicom” >mem<idx> Call to the number contained in mem position n ATD>SM2 >n Call to the number stored in the position n of the current phonebook;...
  • Page 24 PocketGSM AT Commands 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 AT0 command to return to data mode. Command Possible answers Action...
  • Page 25 PocketGSM AT Commands Load user profile This command will load a user profile previously saved with the AT&W command. Command Possible answers Action 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;...
  • Page 26 PocketGSM AT Commands AT&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.
  • Page 27 PocketGSM AT Commands Command Possible responses Action AT&S0 Data Set Ready always ON AT&S1 Data Set Ready is controlled and follows the connection status Default: AT&S1 AT&V Display configuration Command Possible answers Action AT&V0 Displays the current configuration AT&V1 Displays the stored configuration AT&V2 Displays the factory configuration AT&W...
  • Page 28 PocketGSM AT Commands AT+CGMM Model identification Command Possible answers Action AT+CGMM MULTIBAND 900E 1800 Device identification AT+CGMR Modem firmware release Command Possible answers Action AT+CGMR 432a09gm.2D Modem firmware release AT+CGSN Product Serial Number (IMEI) Command Possible answers Action AT+CGSN 012345678901234 International Mobile Equipment Identity (IMEI) of the GSM module AT+CIMI...
  • Page 29 PocketGSM AT Commands Command Possible answers Action AT+IPR=<speed> 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=9600 (the PocketGSM/GPRS AT+IPR=115200) <speed> Description Autobaud enabled: the modem automatically detects the speed, monitoring the received AT command.
  • Page 30 PocketGSM AT Commands <parity> Parity Format Even Mark Space 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; Parity: 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”.
  • Page 31: Gsm Commands

    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: when transmitting, the modem sets with the maximum speed available on the GSM network (for Italy V.32 9600 bit/s) when receiving the modem recognizes the speed and the protocol suggested from the remote device.
  • Page 32: Appendix A

    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 <err> Cause of last disconnection AT+CFUN Modem Restart The AT+CFUN=1 command is used for a software reset of the modem;...
  • Page 33 PocketGSM AT Commands <n> CLIP Service status in the network (reading only) CLIP Service not available CLIP Service available 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”...
  • Page 34 PocketGSM AT Commands Command Possible answers Action AT+CMEE=0 Report disabled AT+CMEE=1 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.
  • Page 35 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.
  • Page 36 PocketGSM AT Commands AT+CRC Cellular Result Code This command enables the report +CRING: <type>, instead of the traditional RING message. Command Possible answers Action AT+CRC=0 Report disabled AT+CRC=1 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.
  • Page 37 PocketGSM AT Commands <lac> Location Area Code in hexadecimal format (e.g. “00C3” is the same as “195” in decimal) <ci> 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...
  • Page 38: Phonebook Commands

    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=<”storage”> OK / ERROR Select the current phonebook memory AT+CPBS? +CPBS: <“storage”>,<used>, and the available memory <total>...
  • Page 39 PocketGSM AT Commands <index> Location where to save the telephone number <”number”> telephone number <type> 145 if <”number”> includes the “+” character in the international prefix 129 if <”number”> does not include the “+” character in the international prefix Note: this parameter can be omitted. <”text”>...
  • Page 40: Voice Commands

    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=<”text”> +CPBF: Displays the telephone numbers <idx1>,<number>,<type>,<text>...
  • Page 41 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.
  • Page 42 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=<time> OK / ERROR Sets the length of the DTMF tone AT+VTD? +VTD: 1 Shows the current settings...
  • Page 43 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=<mode>,<algold> OK / ERROR Sets the echo cancellation AT+ECHO?
  • Page 44: Sms Control Commands (Gsm 07.05)

    PocketGSM AT Commands <val> Description 0 db -6db -12db -18db AT+VIP 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 Restores the factory settings...
  • Page 45 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 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...
  • Page 46 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 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”.
  • Page 47 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.
  • Page 48 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=<stat> OK / ERROR Shows the list of SMS <stat>...
  • Page 49 AT Commands Compose your message, press <ctrl z> (Hex =1A). To cancel the procedure, press <esc> (Hex = 1B). In this example the message “First SMS message with Pocket GSM” is sent to number +393217654321. AT+CMSS Send a stored SMS This command is used to send a previously stored SMS message in Text format.
  • Page 50: Gpio Commands (General Purpose Input Output)

    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 relays. Thanks to this characteristic, you will be able to build a complete application using a single device: you can detect the status change of an input and send an SMS alarm;...
  • Page 51 PocketGSM AT Commands Power on PocketGSM connecting the cable with the correct polarity: pin 9: 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: 4 digital inputs (two logical states: ON/OFF);...
  • Page 52 PocketGSM AT Commands Command Possible answers Action AT+ADC? +ADC: <ADC3>,<ADC2>,<ADC1> Shows the current value Ignore the first value <ADC3>; 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 devices that can be activated and deactivated through a switch.
  • Page 53 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 resistor (470Ω) to limit the current. 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...
  • Page 54 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=<IODir>,<IOVal> OK / ERROR GPIO configured AT+WIOM? +WIOM: <IODir>,<IOVal>...
  • Page 55 PocketGSM AT Commands Possible settings AT+WIOM=6,0 GPIO0 INPUT2 GPO1 OUTPUT1 (initial state: Reset) GPO2 OUTPUT2 (initial state: Reset) GPI3 INPUT1 GPIO4 INPUT3 GPIO5 INPUT4 AT+WIOM=6,2 GPIO0 INPUT2 GPO1 OUTPUT1 (initial state: Set) GPO2 OUTPUT2 (initial state: Reset) GPI3 INPUT1 GPIO4 INPUT3 GPIO5 INPUT4...
  • Page 56 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...
  • Page 57: Gprs Commands (Gsm 07.07)

    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, 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...
  • Page 59 PocketGSM Appendix A APPENDIX A (+CEER: Error <err>) Report Error Codes <err> Description Unassigned (unallocated) number No route to destination Channel unacceptable Operator determined barring Normal call clearing User busy No user responding User alerting, no answer Call rejected Number changed Non selected user clearing Destination out of order Invalid number format (incomplete number)
  • Page 60 PocketGSM Appendix A Service or option not available, unspecified Bearer service not implemented ACM equal to or greater 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...
  • Page 61 PocketGSM Appendix A A.2. (+CME ERROR: <error>) Report Error Codes <error> Description Operation not allowed Operation not supported PH-SIM PIN required SIM not inserted SIM PIN required SIM PUK required SIM failure Incorrect password Memory full Invalid index Not found Text string too long Dial string too long No network service...
  • Page 62 PocketGSM Appendix A A.2.1. (+CMS ERROR: <SMSerror>) Report Error Codes <SMSerror> Description Da 1 a 127 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 SIM not inserted All SMS commands...
  • Page 63 PocketGSM Appendix A A.3. Values of the speaker gain (AT+VGR=<val>) <val> 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 –...
  • Page 64 PocketGSM Appendix A A.3.1. Values of the Microphone transmission (AT+VGT=<val>) Values for Values for “telephone handset” “loud speaking telephone” <val> Gain <val> Gain 0 – 31 +30 db +0 db 32 – 63 +33 db +0,5 db 64 – 95 +36 db +1 db 96 –...
  • Page 65 ITALY 21010 Cardano al Campo VA via A. Volta 39...

Table of Contents