Siemens M1 manual Technical reference section AT standard, AT command line prefix

Page 17

Technical reference section

The AT standard

With the development of intelligent modems, an command language was introduced in the U.S. called the AT standard. Over the past few years, this language has been con- sistently enhanced and has gained international acceptance. Most modems and com- munication programs work with this command language or can be set to use it.

AT command line prefix

The AT standard is a line-oriented command language. Each command line must begin with the letters AT, with the sole exception of the A/ command. The commands are in- troduced at the end of this section. The letters AT are also known as the attention code. The attention code signals your GSM module that one or more commands will follow. The GSM module examines this command line prefix.

Connecting to your GSM module

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:

8

Parity:

None

Stop bits:

1

Duplex:

Full

The GSM module supports autobauding on the V.24 interface with transfer rates from 2400 to 19200 baud and the data format 8N1.

Command syntax of the AT standard

Command lines must always begin with AT.

Multiple commands can be combined on one command line. To improve legibility, you can enter spaces between the individual commands. The GSM module ignores these spaces.

Commands that are specified in this manual with "0" in the last position can also be entered without this "0". Example: ATQ has the same effect as ATQ0.

A command line must end with a <CR> character, which is entered by pressing "En- ter" on the keyboard. This fact will not be mentioned again in this manual.

16

Image 17
Contents GSM Contents Technical reference section Contents General information Technical dataGSM documentation GSM Module M1 Product description FeaturesGSM Module M1 Description of the interfaces Hybrid connector manufacturer-specificSIM card InterfacePower supply / power consumption Installation / startup Mounting the moduleSwitching the GSM module on/off Cable assignmentSetting / testing the COM interface Installation / startupPower consumption Overvoltage / undervoltageATB7 Setting the GSM radio transfer rateATB13 AT+CPIN? Setting up and clearing down connections+CPIN SIM PIN AT+CPIN=1234ATH TroubleshootingAT&F System errors Connection cannot be set upOwn errors Cannot receive fax Incorrect characters on screen GSM module does not dial Overview of AT commands General AT commands SMS AT commands GSM Overview of AT commandsGSM AT commands GSM Connecting to your GSM module AT command line prefixCommand syntax of the AT standard Technical reference section AT standardATH ATS7?Q0E1 Technical reference sectionATD0123456789 AT&F0Connect ErrorRing No CarrierTransparent mode Command modeEscape command Operating modesATH Go on-hook ATOn Return to transparent modeSetting the transfer rate ATB99 ATBn Select GSM module’s operating modeATB ATD ATD Dial a telephone numberValid dial strings Dial ATD+4989telephone numberATD123456789 AT%Dn Automatic dialing with DTRAtdl AT&Z0=123456789ATA Answer a call Displaying and storing a configurationATS0=n Auto-answer mode Stored Profile AT&V Active ProfileTelephone Numbers &Z0= Z1= Z2= Z3=ATQn Activate and deactivate result codes ATEn Command echoScreen outputs Limits of screen outputs Control line options AT&Cn Data Carrier Detect DCD options ATXn Extended connect messageData flow control Memory commandsAT&Dn Data Terminal Ready DTR options AT&Zn=x Store telephone number AT&Wn Store configurationAT&Z0 = ATDS=n Dial stored telephone numberAT&Yn Configuration at power-up AT+C commands for GSMATZn Load user profile AT+CXXSN = ?+CGMI Siemens AT+CGMIAT+CGMM +CGMM M1AT+CHUP Hangup call AT+CEER Extended error reportAT+CGSN Request product serial number ID Enter AT+CMEE Report mobile equipment errorAT+CEER GSM moduleAT+CREG? +CME ErrorAT+CREG? AT+CREG Network registrationAT+COPS Operator selection EnterAT+CREG? GSM module +CREG 0,0 = not registeredAT+COPS? AT+COPS=?+COPS 0, 0, Operator Name AT+COPS?AT+COPS=? Display list of available network operators AT+COPS=?Privat TelekomAT+CPIN Enter PIN and query blocks AT+CPIN2 Enter PIN2 and query PIN2 blocks +CME Error Wrong PasswordAT+CPIN2=1234 AT+CPWD Change passwordAT+CPWD=? +CPWD SC,8,PS,8, P2,8Errors AT+CSQ Signal qualityAT+CSQ ReceiveAT+CKPD=? AT+CKPD Keypad controlAT+CKPD=? +CKPD 0123456789*#CDEISUXYZAT+CXXSN=? AT+CXXSN Single-numbering parameterizationAT+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=? AT+CPBR Read phonebook entriesAT+CPBR=? +CPBR index, number length, textAT+CPBW Write phonebook entry AT+CBST=? AT+CBST Select bearer service typeAT+CBST? AT+CRC? AT+CRC Cellular result codeAT+CRC=? AT+CRC?AT+CLIP? AT+CLIP Calling line identification presentationAT+CLIP=? AT+CLIP?AT+CPAS=? AT+CPAS Phone activity statusAT+CPAS=? +CPAS 0 1 2 3 4AT+FCLASS? AT+FCLASS Select modeAT+FCLASS=? AT+FCLASS=?AT+CXXCID=? AT+C commands for the short message service SMSAT+CXXCID Card identification Parameter command syntax AT+CSMS Select message serviceValues implemented AT+CPMS Preferred message storageAT+CMGF Message format AT+CSCA Service center addressIf PDU mode +CMGF=0 and command successful Action command syntaxIf 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+CMGL List messages AT+CMS Error message service failure result codes+CMGL=? Value definitionsAT+FCR= AT+FAAAT+FBUF?AT+FBOR S-registersAT+FDT= EnterATS0?S7? ATSn? Read an S-registerATSn=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 OFF Overview of the S-registers Please noteDTR on OFF Technical reference section AT&T0 AT&T1ABC ATIn Display GSM module I-data Interface Technical data GeneralTechnical data Hybrid connector manufacturer-specific Fax Technical data GSM modesFAX G3 DataEuropean Telecommunications Standards Institute GSM documentation GSM reference documentsEtsi contact General information CE-Sign ServiceGeneral information