Digicom pocket GSM User Manual

http://www.digicom.it
DUAL-BAND MODEM
Dual-Band EGSM900/DCS1800
Data Transmission up to 9.6Kbps V.32 and V.110
SMS support PDU and Text mode
Voice and Fax support
Flash Upgradable
rev. 3.1 12/2004
POCKET GSM
I
PocketGSM Index
INDEX
PREFACE II
ENVIRONMENTAL CONDITIONS II CLEANING THE TERMINAL II VIBRATIONS OR DROPPING II
DECLARATION CE OF CONFORMITY II
1. INTRODUCTION 1.1
1.1. TECHNICAL FEATURES 1.1
1.2. WARNINGS 1.1
2. INSTALLATION 2.1
2.1. PIN-OUT CONNECTOR 2.1
2.2. SIM CARD 2.2
2.3. CONNECTION TO THE EXTERNAL ANTENNA 2.2
2.4. POWER SUPPLY 2.4
2.5. LED INDICATORS 2.5
2.6. CONNECTOR FOR THE VOICE MANAGEMENT 2.6
3. FUNCTIONAL EXAMPLES 3.1
4. AT COMMANDS 4.1
4.1. COMMANDS NOTES 4.1
4.2. AT COMMANDS DESCRIPTION 4.2
4.2.1. GENERAL COMMANDS 4.2
4.2.2. 07.07 GSM COMMANDS 4.11
4.2.3. PHONEBOOK COMMANDS 4.18
4.2.4. VOICE COMMANDS 4.20
4.2.5. SMS CONTROL COMMANDS (GSM 07.05) 4.24
4.2.6. GPIO COMMANDS (GENERAL PURPOSE INPUT OUTPUT) 4.30
4.2.7. GPRS COMMANDS (GSM 07.07) 4.37
APPENDIX A A.1
II
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:
Dust, humidity, heat from direct sun light.Objects which irradiate heat. These could cause damage to the container or other problems.Objects which produce a strong electtromagnetic field (loudspeakers, etc.)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&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 Preface
PocketGSM Introduction
1.1
1. INTRODUCTION
Congratulation on choosing digicom PocketGSM.
Pocket GSM is a GSM Dual-Band modem (EGSM900/DCS1800), perfect for DA T A, 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 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 & 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.
PocketGSM Introduction
1.2
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 aircraft 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 that could be sensitive to external RF energy.
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.
PocketGSM Installation
2.1
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 3Transmitted Data TD 4 Data Terminal Ready DTR 5 Signal Ground GND 6 Data Set Ready DSR 7 Request To Send RTS 8 Clear T o 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.
51
96
PocketGSM Installation
2.2
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. Insert the SIM card into the holder. Be sure the angled corner is top right.
5. Close the SIM holder and press it up to the end. Do not force the SIM holder and verify the correct position. .
2.3. CONNECTION TO THE EXTERNAL ANTENNA
To connect the external antenna go on as follows:
1. Tu rn 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.
PocketGSM Installation
2.3
You can check the signal:
Using a cellular phone
Insert the SIM of the PocketGSM in a cellular phone and check the quality of the signal.
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.
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 cpmputer, 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 values 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.
PocketGSM Installation
2.4
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 (GPIO0) 6 DIGITAL INPUT 1 (GPI3) 7 N.C. 8 N.C.
9 Power supply from 5 to 32Vdc 10 GND 11 ANALOG INPUT 2 (ADC2) 12 ANALOG INPUT 1 (ADC1)
pin 9 : 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.
PocketGSM Installation
2.5
2.5. 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 ]
PocketGSM Installation
2.6
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 ( + ) 3 Speaker ( - ) 4 Microphone ( - )
The modem includes AC coupling and biasing for electret microphone.
Suggested characteristics for the microphone
Polarizzazione : 2V – 0.5mA Impedance: 2K Sensitivity : from –40dBm to –50dBm 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 ]
4
3
2
1
PocketGSM Functional Examples
3.1
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 information 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)
PocketGSM Functional Examples
3.2
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? (Verify the SIM and the PIN status) Answer: ERROR (SIM card reading failed) Answer: +CPIN: READY (PIN code present: SIM ready) Answer: +CPIN: SIM PIN (PIN code insertion is required) Answer: +CPIN: SIM PUK (PUK code insertion is required) Answer: +CPIN: SIM PIN2 (PIN2 code insertion is required)
In case the PIN code is not present, it must be inserted before using the SIM card:
Command: AT+CPIN=4321 (PIN insertion) Answer: OK (PIN code right) Answer: ERROR (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
3.3
B) POCKET GSM READY TO WORK
PocketGSM can work only after it has been detected by the network and with a good GSM signal. To verify PocketGSM is ready to manage calls and SMS, follow these commands:
Command: AT+CPIN? Answer: +CPIN: READY (SIM is ready)
Command: AT+CREG? Answer: +CREG: 0,1 (GSM modem is registered by the network)
OK
Command: AT+COPS? Answer: +COPS: 0,2,22288 (PocketGSM is registered at operator 22288)
OK
Command: AT+CSQ Answer: +CSQ: 15,0 (GSM signal: good)
OK
The CSQ value can be included between 0 and 31, where 0 = –113dBm 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 ]
PocketGSM Functional Examples
3.4
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&D and AT+IFC.
Examples:
Command: AT&D0 (Criterion 108 ignored) Command: AT&D2 (Criterion 108 managed as per specification) 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<Enter>. 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
PocketGSM Functional Examples
3.5
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).
Examples:
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 S0 register with the number of rings after which to answer (eg. S0=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.
PocketGSM Functional Examples
3.6
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 present)
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&W (Save the configuration) Answer: OK
3) Send a message:
Command: AT+CMGS=”+393217654321”<enter> Answer: >
PocketGSM Functional Examples
3.7
Text: First SMS message with Pocket GSM<ctrl z> Answer: +CMGS: <sms index>
OK
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.
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: +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
PocketGSM Functional Examples
3.8
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 ]
Loading...
+ 45 hidden pages