Table of Contents

Advertisement

GSM
Module M1
Data
Fax
SMS
User Guide
V.24

Advertisement

Table of Contents
loading

Summary of Contents for Siemens M1

  • Page 1 Module M1 Data User Guide V.24...
  • Page 2: Table Of Contents

    Power supply / power consumption ........
  • Page 3 Contents Technical reference section The AT standard ..........16 AT command line prefix .
  • Page 4 Contents AT+C commands for GSM ......... . 30 AT+CGMI - Request manufacturer ID .
  • Page 5 Contents The S-registers ........... 61 ATSn? - Read an S-register .
  • Page 6: Gsm Module M1

    • Manufacturer-specific interface for DC power supply, external antenna and audio signals. When the GSM Module M1 is registered in the network, it serves as a standard mo- dem for fax and data transmission for a computer connected to the V.24 interface. Spe- cial AT+C commands as per GSM 07 .07 or GSM 07 .05 for controlling GSM-related...
  • Page 7: Description Of The Interfaces

    “Technical data” . SIM card The GSM Module M1 must have a SIM card to operate in the GSM network. To install this card, press the yellow button to eject the carrier and insert the SIM in the carrier.
  • Page 8: Installation / Startup

    Brown Switching the GSM module on/off The GSM Module M1 switches on when a positive voltage of 5 - 24 V is applied to IG- NITION if a voltage of 8 - 24 V is simultaneously applied to POWER. The module switches off when a voltage of less than +1 V is applied to IGNITION. An existing call is correctly disconnected.
  • Page 9: Overvoltage / Undervoltage

    When installed, the M1 must be protected by a medium time-lag fuse with a nominal value of 1A or a fast fuse with a nominal value of 1.6 A. For vehicle installation the M1 must be directly connected to the battery.
  • Page 10: Setting The Gsm Radio Transfer Rate

    Installation / startup In order to test the interface and your settings, enter AT . The GSM module should then respond with OK. If it does not do so, configure a different interface in the communi- cation program and try again. Also check the cable. When this test has been success- fully completed, check the functionality of the GSM module by entering AT&T1.
  • Page 11: Registering In The Gsm Network / Pin Entry

    Installation / startup Registering in the GSM network / PIN entry In order for the GSM module to access the GSM network, you may have to enter the PIN for the SIM card. You can do this using the AT+CPIN=“ ..” command. The AT+CPIN? command allows you to inquire whether or not you must enter a password and what type of password must be entered.
  • Page 12: Troubleshooting

    Interrupt command: Press the “+“ key three times in rapid succession. Changes to command mode. Command to go on-hook The connection is cleared down; M1 has gone on-hook. 2400 – 19200 baud None Full...
  • Page 13: Connection Cannot Be Set Up

    • The GSM data module is not registered, i.e. it has not or has not yet been able to register in the network. • The M1 was manually set to an unavailable network operator by means of +COPS=1. • The M1 was signed off of the network by means of +COPS=2.
  • Page 14: Incorrect Characters On Screen

    Installation / startup Incorrect characters on screen • Duplicate characters on screen Cause: Your communication program is set to half-duplex or echo. Remedy: Enter ATE0 to deactivate command echo in command mode or deactivate the echo in the communication program. •...
  • Page 15: Overview Of At Commands

    Overview of AT commands General AT commands Repeat previous command line Switch to command mode when connected Answer call ATDx Dial the dial string "x" ATDIx Dial ISDN number "x" ATDL Redial last telephone number used ATDS=n Dial stored telephone number ATE0 Disable command echo ATE1...
  • Page 16: Gsm At Commands (Gsm 07.07)

    Overview of AT commands AT&Zn=x Store telephone number "x" in memory "n" AT%Dn Automatic dialing with DTR Fax commands GSM AT commands (GSM 07.07) AT+CGMI Display manufacturer ID AT+CGMM Display model ID AT+CGMR Display version of GSM module AT+CGSN Display serial number (IMEI) AT+CHUP Terminate all calls AT+CEER...
  • Page 17: Technical Reference Section

    You have connected your GSM module to your PC. You can now connect to your GSM module. To do so, start up a communication program on your PC. Set the following transmission parameters (characteristics): COM interface: 1 - 4, depending on which one the M1 is connected to Rate: 2400 - 19200 baud Data bits:...
  • Page 18: Loading The Factory Configuration And Displaying A Configuration

    Loading the factory configuration and displaying a configuration The AT&F and AT&V commands allow you to load and display the factory configuration. Enter: AT&F0 M1 returns: Enter: AT&V Loads the factory configuration and transfers it to the PC. The settings are displayed on the screen.
  • Page 19: A/ - Repeat Previous Command Line

    Technical reference section Overview of the short and long result code formats Short Long code code CONNECT RING NO CARRIER ERROR NO DIALTONE BUSY CONNECT 2400 CONNECT 4800 CONNECT 9600 Please note: In both cases, result codes are made up of ASCII characters. Long result codes must begin and end with <CR>...
  • Page 20: Setting Up And Clearing Down Connections

    Technical reference section Setting up and clearing down connections Once you have read through this section, you will be able to use your GSM module to- gether with your communication program to perform the following functions: • Interrupt a connection using the escape command. •...
  • Page 21: Ath - Go On-Hook

    Technical reference section returns the result code OK. The connection is not yet cleared down. The pause before and after the "+" characters ensures that the GSM module will interpret this command as the escape command in transparent mode and will then switch to command mode. Going on-hook •...
  • Page 22: Atbn - Select Gsm Module's Operating Mode

    Technical reference section Example: Your PC is set to 19200 baud, i.e. higher than the maximum GSM transfer rate of 9600 bit/s. This means that the GSM module receives more data from the PC than it can transfer to the GSM network. In order to prevent a data overflow, the module must be able to interrupt the data flow from the PC.
  • Page 23: Atd - Dial A Telephone Number

    Technical reference section ATD - Dial a telephone number In order to dial a telephone number, enter the ATD command followed by the number. Example: Enter: ATD 0199341 GSM module Dials the telephone number 0199341. and returns: CONNECT 2400 As soon as the module detects the carrier for the distant station, it returns the CON- NECT result code.
  • Page 24: Atdl - Redial Last Telephone Number Used

    Technical reference section ATDL - Redial last telephone number used This command allows you to redial the last telephone number that you dialed, regard- less of whether the last dialing attempt was successful. Example: Enter: ATD123456789 GSM module: BUSY Enter: ATDL GSM module: Redials 123456789.
  • Page 25: Ata - Answer A Call

    AT&F command. The GSM Module M1 allows you to modify the active con- figuration profile by means of AT or S-register commands. These options will be de- scribed in subsequent sections.
  • Page 26: At&F - Load Factory Profile

    AT&F command. Now enter the AT&V command. The following is displayed on the screen: AT&V ACTIVE PROFILE: B99 E1 L2 M1 Q0 V1 X4 Y0 %D0 &C1 &D2 &G0 &Y0 S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:060 S08:002 S09:006 S10:007 S12:050 S14:6AH S16:00H S18:000 S21:30H S22:46H S23:1CH S25:005 S26:001 S27:00H STORED PROFILE 0: B99 E1 L2 M1 Q0 V1 X4 Y0 &C1 &D2 &G0...
  • Page 27: Configuring The Module Using At Commands

    Technical reference section Configuring the module using AT commands This section describes the standard AT commands that allow you to configure your GSM module. These commands are grouped according to subject area. Screen outputs Limits of screen outputs When you receive data that is reproduced on the screen (data echo), the text is usually shifted upward when the edge of the screen is reached.
  • Page 28: Atxn - Extended Connect Message

    Technical reference section ATXn - Extended connect message Option Result ATX0 The GSM module returns only the CONNECT code as soon as a satisfac- tory connection has been set up. A busy signal is ignored. ATX1 The GSM module transmits an extended connect message with transfer rate information (CONNECT xxxx) as soon as a satisfactory connection has been set up.
  • Page 29: At&Dn - Data Terminal Ready (Dtr) Options

    Technical reference section AT&Dn - Data Terminal Ready (DTR) options AT&Dn [n=0..3] Option Result AT&D0 The GSM module ignores the status of the DTR control line connected to the COM interface. AT&D1 When the DTR line switches from ON to OFF , the GSM module changes to command mode.
  • Page 30: At&Zn=X - Store Telephone Number

    Technical reference section AT&Zn=x - Store telephone number The user memory can hold 4 telephone numbers. The AT&Zn= command allows you to store a dial string in telephone number memory "n" (n represents a value from "0" to "3"). Example: Enter: AT&Z0 = 01999341 GSM module:...
  • Page 31: At&Yn - Configuration At Power-Up

    Special AT commands are used for controlling GSM-related functions of the GSM Module M1 such as PIN entry, network selection and IMEI output and for controlling the short message service. These commands start with AT+C and are specified in the Tech- nical Specifications (TS) GSM 07 .07 for the general part and GSM 07 .05 for SMS from the...
  • Page 32: At+Cgmi - Request Manufacturer Id

    Result AT+CGMM Displays module name. Example: Enter: AT+CGMM Response: +CGMM: M1 AT+CGMR - Request revision ID This command provides you with the version of the GSM module and the software cre- ation date. Option Result AT+CGMR Displays the version number and creation date.
  • Page 33: At+Cgsn - Request Product Serial Number Id

    Technical reference section AT+CGSN - Request product serial number ID This command provides you with the serial number of the GSM module. The serial number has the GSM format. AT+CGSN Option Result AT+CGSN Displays the serial number. In GSM, each mobile telephone is assigned a unique number, known as the IMEI (International Mobile Equipment Identity).
  • Page 34: At+Cmee - Report Mobile Equipment Error

    If an error occurs while you are processing a command by means of AT+C, the problem may be located in the data or GSM section of the M1. For example, if a data connection is set up, the phonebook cannot be accessed at the same time. Or is the problem in the SIM card? Is it inserted or has the PIN been omitted? Extended error messages help you isolate errors more easily.
  • Page 35 Technical reference section Possible error messages in response to an AT+C command Phone failure No connection to phone (transceiver part of M1) Transceiver-adaptor link reserved Operation not allowed Operation not supported PH-SIM PIN required SIM not inserted SIM PIN required...
  • Page 36: At+Creg - Network Registration

    The GSM module has successfully registered in the network and all services are available. The M1 is not registered but is searching for a new network operator. See AT+COPS, commands relating to network operator selection.
  • Page 37: At+Cops - Operator Selection

    Technical reference section Example: Enter: AT+CREG? GSM module: +CREG: 0,0 => not registered AT+COPS - Operator selection These commands allow you to read out the current network operator, display a list of available network operators or select a operator directly. Various command extensions are available.
  • Page 38: At+Cops=? - Display List Of Available Network Operators

    < mode n> Explanation Network operator is selected automatically. Network operator is selected manually. The GSM-M1 is signed off of the network. You can select the format for displaying the network operator. This is true only of the read command AT+COPS?.
  • Page 39: At+Cops

    The meaning is the same as for the AT+COPS? read command. Format f <format f> specifies the format to be used for displaying the operator. The GSM M1 supports only the numeric format for selection. Operator The network operator to be used (numeric format).
  • Page 40: At+Cpin - Enter Pin And Query Blocks

    +CPIN: SIM PIN M1 expects the PIN for the SIM card. +CPIN: SIM PUK M1 expects the PUK for the SIM card, including a PIN. +CPIN: PH-SIM PIN M1 expects a device code. +CPIN: PH-SIM M1 expects the device PUK, including a PIN that is stored as a device code.
  • Page 41: At+Cpin2 - Enter Pin2 And Query Pin2 Blocks

    It is then stored as a new PIN2. AT+CPIN2? Result code Meaning +CPIN: READY M1 does not expect PIN2; it has already been entered. +CPIN: SIM PIN2 M1 expects PIN2 for the SIM card. +CPIN: SIM PUK2 M1 expects PUK2 for the SIM card, including PIN2.
  • Page 42: At+Cpwd - Change Password

    Technical reference section Example: You enter the correct PIN2: Enter: AT+CPIN2=“1234“ GSM module: You enter an incorrect PIN2: Enter: AT+CPIN2=“1234“ GSM module: +CME: ERROR: WRONG PASSWORD AT+CPWD - Change password This command allows you to change the password. Since more than one password will be available for future uses, you must specify the name of the password upon entering Command AT+CPWD=?
  • Page 43: At+Csq - Signal Quality

    Technical reference section AT+CSQ - Signal quality The quality of the radio connection between the GSM module and the base station varies depending on environmental conditions. This command provides you with infor- mation on the current reception quality. Command Result AT+CSQ Displays current receive values.
  • Page 44: At+Ckpd - Keypad Control

    Technical reference section AT+CKPD - Keypad control This command allows you to simulate keystrokes on the GSM mobile telephone. Input corresponds to the actuation of keys on the Siemens S3COM. Command Result AT+CKPD=<key> Instructs the GSM module to simulate the key <key>.
  • Page 45: At+Cxxsn - Single-Numbering Parameterization

    Technical reference section AT+CXXSN - Single-numbering parameterization Some GSM network operators support single-numbering and some support multinum- bering. You can determine which form of numbering is supported by your operator from whether your chip card has one number or more than one number at which it can be called for multiple voice or data services.
  • Page 46 Technical reference section Command AT+CXXSN=? Result code +CXXSN: <0,1,2> <SN mode> Meaning of the mode The next incoming call will be answered by the voice service (TS11). The next incoming call will be answered by the voice/fax service. This is required if your network operator supports only TS61 and not TS62.
  • Page 47: At+Cxxmoc - Parameterize For Outgoing Calls

    Technical reference section AT+CXXMOC - Parameterize for outgoing calls The following services are available for fax transmission in GSM: • Teleservice 61 (TS61) This service exists as an imitation of combination fax machines and allows you to change from a voice connection to fax transmission. •...
  • Page 48: At+Cpbs - Select Phonebook Memory Storage

    Technical reference section AT+CPBS - Select phonebook memory storage When reading or writing a phonebook entry, you must tell the M1 which phonebook memory will be affected by the subsequent read/write jobs. The following phonebook memories are supported in the M1: •...
  • Page 49: At+Cpbr - Read Phonebook Entries

    Technical reference section AT+CPBR - Read phonebook entries This command allows you to read the phonebook that was selected by means of the AT+CPBS command. You must also enter the number of the relevant position or a range of numbers. Command AT+CPBR=index1[,index2] AT+CPBR=?
  • Page 50: At+Cpbw - Write Phonebook Entry

    Technical reference section AT+CPBW - Write phonebook entry This command allows you to write an entry to the phonebook. You have the option of entering the telephone number with or without a name. AT+CPBW= [index][,number, [type], [text]] Meaning Index Stores the entry with the position number “index” in the phonebook. If you omit the index, an available position is sought;...
  • Page 51: At+Cbst - Select Bearer Service Type

    Technical reference section AT+CBST - Select bearer service type This command selects the bearer service with data rate and the connection element to be used when data calls are originated. Command AT+CBST=[<speed> [,<name>[,<ce>]]] AT+CBST? AT+CBST=? AT+CBST Result Selects new speed, name and ce Displays speed, name and ce Displays list of supported speed, list of supported name and list of supported ce (Connection Ele-...
  • Page 52: At+Crc - Cellular Result Code

    Technical reference section AT+CRC - Cellular result code This command controls whether or not the extended format of incoming call indication is used. When enabled, an incoming call is indicated with unsolicited result code + CRING: <type> instead of the normal RING. Command AT+CRC? AT+CRC=?
  • Page 53: At+Clip - Calling Line Identification Presentation

    The set command + CMP=<n> enables or disables the presentation of the CLI at the M1. It has no effect on the execution of the service CLIP in the network. When enabled +CLIP: <number>,<type> response is returned after every RING result code.
  • Page 54: At+Cpas - Phone Activity Status

    Technical reference section AT+CPAS - Phone activity status This command returns the activity status of the GSM module M1. It can be used to in- terrogate the M1 before requesting action. Command AT+CPAS AT+CPAS=? Command Result Code AT+CPAS Result Displays status...
  • Page 55: At+Fclass - Select Mode

    When he receives a call (MTC), "RING" is displayed on his PC. The call can now be ac- cepted by means of "ATA". The DSA in the M1 accepts the call as a data call proper ir- respective of whether it is a data or fax call. The reason for this is that B99 causes the incoming service identifier to be ignored.
  • Page 56: At+Cxxcid - Card Identification

    The module supports several of the AT+C commands specified in TS GSM 07 .05 for using the short message service with the M1. In order to provide an application on the connected computer with complete information on the short messages, the M1 sup- ports PDU mode.
  • Page 57: At+Csms - Select Message Service

    Technical reference section AT+CSMS - Select message service This command allows you to select the short message service. Parameter command syntax Command +CSMS=<service> +CSMS? +CSMS=? Values implemented <service>: GSM 03.40 and 03.41 <mt>,<mo>, <bm> Type not supported Type supported AT+CPMS - Preferred message storage This command allows you to select the memory to be used for read and write operations.
  • Page 58: At+Cmgf - Message Format

    Technical reference section AT+CMGF - Message format This command allows you to define the input and output format of the short message. Parameter command syntax Command +CMGF=[<mode>] +CMGF? +CMGF=? Values implemented <mode>: PDU mode AT+CSCA - Service center address This command allows you to set the SMSC address via which outgoing short messag- es are sent.
  • Page 59: At+Cmgr - Read Message

    Technical reference section AT+CMGR - Read message This command allows you to display the short message addressed by <index>. Action command syntax Command Possible response(s) +CMGR= <index> If PDU mode (+CMGF=0) and command successful: +CMGR: <stat>, <length><CR><LF><pdu> Otherwise: +CMS ERROR : <err> +CMGR=? <index>...
  • Page 60: At+Cmgw - Write Message To Memory

    Technical reference section AT+CMGW - Write message to memory This command allows you to store a short message in the memory <mem2>. The memory location is returned in <index>. Action command syntax Command If PDU mode (+CMGF=0): +CMGW= <length> [,<stat>]<CR>PDU is given <ctrl-Z/ESC>...
  • Page 61: At+Cmgl - List Messages

    Technical reference section AT+CMGL - List messages This command allows you to display the short message with the status <stat> from memory <mem1>. Action command syntax Command Possible response(s) +CMGL=[ <stat>] If PDU mode (+CMGF=0) and command successful: +CMGL:<index>, <stat>, <length><CR><LF><pdu> [<CR><LF>+CMGL:<index>,<stat>,<length><CR><LF>...
  • Page 62: Fax Operation Conforming To Tr-29.2

    AT+FAAAT+FBUF?AT+FBOR The S-registers The active configuration profile for the GSM M1 module is stored in S-registers. Each register is 8 bits long. A number of S-registers are reserved and must not be modified! The other registers can be read by means of the ATSn? command or overwritten using the ATSn= command.
  • Page 63: Atsn? - Read An S-Register

    Technical reference section ATSn? - Read an S-register The ATSn? command allows you to read the "n"-th S-register. Parameter "n" must be an integer and designate an S-register. Example: Enter: ATS0? GSM module: Enter: ATS0?S7? GSM module: In response to the ATSn? command, the GSM module displays the register contents as a three-digit decimal number.
  • Page 64: Binary And Decimal Values In S-Registers

    Technical reference section Binary and decimal values in S-registers Although you enter values for S-registers as decimal numbers, like all other values that are stored in PCs they are stored in the registers in binary format: Bit # Binary Decimal The value of the register is obtained by adding together the values of all enabled bits.
  • Page 65: Bit Position Registers

    Technical reference section Bit position registers Registers in which a number of parameter values are stored are called bit position reg- isters. If you wish to modify the parameter values in these registers directly, you must add up the decimal values of all the bits to be set and enter the result using the ATSn=x command.
  • Page 66: Overview Of The S-Registers

    Technical reference section Overview of the S-registers Please note: The tables below do not include the reserved registers. Making entries in these unlist- ed, reserved registers can cause the GSM module to malfunction. Meaning Number of ringing signals after which the system will answer automatically, i.e.
  • Page 67 Technical reference section S14: Command echo, result codes Options Reserved Command echo (ATEn) Result codes (ATQn) Short format mode (ATVn) Reserved Reserved Reserved Reserved S21: DTR and DCD options Options Reserved Automatic dialing when DTR OFF -> ON (At%Dn) Reserved DTR options (AT&Dn) DCD options (AT&Cn) Reserved...
  • Page 68 Technical reference section S22: Result codes Options Reserved Reserved Reserved Reserved Result code options (ATXn) Reserved S23: Bit rate and parity Options Reserved Transfer rate at the COM interface Parity Reserved Reserved Values Same as ATX0 Reserved Reserved Reserved Same as ATX1 Same as ATX2 Same as ATX3 Same as ATX4...
  • Page 69: At&Tn - Test Functions

    Technical reference section AT&Tn - Test functions Software test loops If you can still address your GSM module with your communication program, check module functioning using the software test loops. Each test is initiated by means of an AT command. Be sure to perform the tests in the sequence described. AT&T0 - Terminate an active test You can terminate an active test at any time: Step 1:...
  • Page 70: Atin - Display Gsm Module I-Data

    Technical reference section ATIn - Display GSM module I-data The ATIn command provides you with information that you should keep ready in case you need to consult your dealer or the manufacturer. Option Result ATI0 Displays GSM module product code. The GSM module transmits the product code as a 3-digit ASCII string with the format 24x followed by <CR>...
  • Page 71: Technical Data

    Technical data General Type: Housing: Plastic Dimensions: 116 x 67 x 30 mm Weight: 157 g Memory: Flash EPROM Input voltage: +8 V to +24 V DC Nominal voltage: 13,2 V DC Input current: Max. 500 mA Class of protection: III Temperature range: -20 °C to +55 °C (operating) -40 °C to +70 °C (storage) V.24 interface...
  • Page 72: Hybrid Connector (Manufacturer-Specific)

    Technical data Hybrid connector (manufacturer-specific) Pin assignment: Meaning of pins: Name Power BF-Bus NF Ext TX_E RX_E Ignition Antenna Ext AUDO_1 AUDO_2 HF_MICRO GNDA Antenna: Impedance 50 ohms Used Meaning 8 V - 24 V DC Reserved Reserved Reserved Reserved Reserved Activate/deactivate 0 - 24 V Reserved...
  • Page 73: Gsm Modes

    Technical data GSM modes CCITT Rec.: CCITT T.30, T.4 Routes: MOC and MTC Info.transf.mode: FAX G3 Clock mode: Synchronous Connection elem.: Transparent Structure: Unstructured Radio channel: Full rate Intermed. rate: 8 or 16 kbit/s User rate: 2400, 4800 or 9600 bit/s Teleservice: TS 61, TS 62 Data...
  • Page 74: Gsm Documentation

    GSM documentation GSM reference documents The following GSM reference documents are recommended: GSM 03.40 GSM 03.45 GSM 04.11 GSM 04.21 GSM 05.08 GSM 07 .01 GSM 07 .02 GSM 07 .05 GSM 07 .07 ETSI contact The Technical Specifications can be ordered from the following address: European Telecommunications Standards Institute ETSI Secretariat Postal Address:...
  • Page 75: General Information

    – 91/263/EWG CTR5 and CTR 9 – ETS 300342-1 as confirmed by the CE mark. Service The current version of this manual and of the M1 software can be found in the following mailbox: Mailbox telephone number: +49 89 722 46555...
  • Page 76 General information Issued by Private Communication Systems Group Hofmannstraße 51 D-81359 Munich Siemens Aktiengesellschaft © Siemens AG 1996 All rights reserved Subject to availability Right of modification reserved Order No.: A24859-N4000-A100-1-7677 Printed in Germany (02/96)

Table of Contents