Siemens M1 manual Operating modes, Command mode, Transparent mode, Escape command

Page 20

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.

Go off-hook.

Set up a connection by manually dialing the telephone number.

Store a telephone number.

Dial a stored telephone number.

Answer a call.

Switch to auto-answer.

Operating modes

The GSM module operates in two different modes:

Command mode

Transparent mode

Command mode

When you switch on your system, the GSM module is in command mode and is ready to receive and execute your commands. All characters that the GSM module receives via the COM interface in this mode are interpreted as commands and, if a phone con- nection is present, are not transferred to the distant station.

Transparent mode

In transparent mode, the GSM module transfers every character sent and received via the COM interface just as it is.

Escape command

Before attempting to dial your first call, you must know how to interrupt or disconnect a call at any time. This involves the following two steps:

Enter ￿￿￿ to switch to command mode.

Disconnect the call by entering ATH.

Example:

Situation: The GSM module is operating in transparent mode, i.e. a connection is set up to a distant station.

Change to command mode:

Do not press any key for at least one second.

Press the ￿ key three times in rapid succession (within one second).

Do not press another key for at least one second.

The GSM module switches to command mode, i.e. it interrupts the flow of data and

19

Image 20
Contents GSM Contents Technical reference section Contents General information Technical dataGSM documentation Features GSM Module M1 Product descriptionHybrid connector manufacturer-specific GSM Module M1 Description of the interfacesSIM card InterfaceInstallation / startup Mounting the module Power supply / power consumptionSwitching the GSM module on/off Cable assignmentInstallation / startup Setting / testing the COM interfacePower consumption Overvoltage / undervoltageATB7 Setting the GSM radio transfer rateATB13 Setting up and clearing down connections AT+CPIN?+CPIN SIM PIN AT+CPIN=1234ATH TroubleshootingAT&F System errors Connection cannot be set upOwn errors Cannot receive fax Incorrect characters on screenGSM module does not dial Overview of AT commands General AT commands SMS AT commands GSM Overview of AT commandsGSM AT commands GSM AT command line prefix Connecting to your GSM module Command syntax of the AT standard Technical reference section AT standardTechnical reference section ATH ATS7?Q0E1ATD0123456789 AT&F0Error ConnectRing No CarrierCommand mode Transparent modeEscape command Operating modesATH Go on-hook ATOn Return to transparent modeSetting the transfer rate ATB99 ATBn Select GSM module’s operating modeATB ATD Dial a telephone number ATDValid dial strings Dial ATD+4989telephone numberAT%Dn Automatic dialing with DTR ATD123456789Atdl AT&Z0=123456789ATA Answer a call Displaying and storing a configurationATS0=n Auto-answer mode AT&V Active Profile Stored ProfileTelephone Numbers &Z0= Z1= Z2= Z3=ATQn Activate and deactivate result codes ATEn Command echoScreen outputs Limits of screen outputs ATXn Extended connect message Control line options AT&Cn Data Carrier Detect DCD optionsData flow control Memory commandsAT&Dn Data Terminal Ready DTR options AT&Wn Store configuration AT&Zn=x Store telephone numberAT&Z0 = ATDS=n Dial stored telephone numberAT+C commands for GSM AT&Yn Configuration at power-upATZn Load user profile AT+CXXSN = ?AT+CGMI +CGMI SiemensAT+CGMM +CGMM M1AT+CHUP Hangup call AT+CEER Extended error reportAT+CGSN Request product serial number ID AT+CMEE Report mobile equipment error EnterAT+CEER GSM module+CME Error AT+CREG?AT+CREG Network registration AT+CREG?EnterAT+CREG? GSM module +CREG 0,0 = not registered AT+COPS Operator selectionAT+COPS? AT+COPS=?AT+COPS? +COPS 0, 0, Operator NameAT+COPS=? Display list of available network operators AT+COPS=?Telekom PrivatAT+CPIN Enter PIN and query blocks +CME Error Wrong Password AT+CPIN2 Enter PIN2 and query PIN2 blocksAT+CPWD Change password AT+CPIN2=1234AT+CPWD=? +CPWD SC,8,PS,8, P2,8AT+CSQ Signal quality ErrorsAT+CSQ ReceiveAT+CKPD Keypad control AT+CKPD=?AT+CKPD=? +CKPD 0123456789*#CDEISUXYZAT+CXXSN Single-numbering parameterization AT+CXXSN=?AT+CXXSN=2 AT+CXXSN=?+CXXSN 0,1,2 AT+CXXMOC=1 AT+CXXMOC=?+CXXMOC 0,1 +CPBS MD , SM , OW , FD AT+CPBS Select phonebook memory storageAT+CPBS=? AT+CPBR Read phonebook entries AT+CPBR=?AT+CPBR=? +CPBR index, number length, textAT+CPBW Write phonebook entry AT+CBST=? AT+CBST Select bearer service typeAT+CBST? AT+CRC Cellular result code AT+CRC?AT+CRC=? AT+CRC?AT+CLIP Calling line identification presentation AT+CLIP?AT+CLIP=? AT+CLIP?AT+CPAS Phone activity status AT+CPAS=?AT+CPAS=? +CPAS 0 1 2 3 4AT+FCLASS Select mode AT+FCLASS?AT+FCLASS=? AT+FCLASS=?AT+CXXCID=? AT+C commands for the short message service SMSAT+CXXCID Card identification AT+CSMS Select message service Parameter command syntaxValues implemented AT+CPMS Preferred message storageAT+CSCA Service center address AT+CMGF Message formatAction command syntax If PDU mode +CMGF=0 and command successfulIf PDU mode +CMGF=0 If send is successful AT+CMGR Read messageAT+CNMI New message indications AT+CMGW Write message to memoryAT+CMGD Delete message AT+CMS Error message service failure result codes AT+CMGL List messages+CMGL=? Value definitionsAT+FCR= AT+FAAAT+FBUF?AT+FBOR S-registersAT+FDT= ATSn? Read an S-register EnterATS0?S7?ATSn=x Write to an S-register ATS0=3Binary and decimal values in S-registers Decimal input and binary storage Bit position registersYou wish to enter the following parameter values Overview of the S-registers Please note OFFDTR on OFF Technical reference section AT&T0 AT&T1ABC ATIn Display GSM module I-data Technical data General InterfaceTechnical data Hybrid connector manufacturer-specific Technical data GSM modes FaxFAX G3 DataEuropean Telecommunications Standards Institute GSM documentation GSM reference documentsEtsi contact Service General information CE-SignGeneral information