Siemens M1 manual ATSn? Read an S-register, EnterATS0?S7?, ATSn=x Write to an S-register, ATS0=3

Page 63

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: 003

OK

Enter:ATS0?S7?

GSM module: 003 030 OK

In response to the ATSn? command, the GSM module displays the register contents as a three-digit decimal number. If more than one register is read on one command line, the GSM module displays the register contents in the order in which the registers ap- pear in the command string. The GSM module transmits a <CR> and <LF> character after each set of register contents is displayed. If the command syntax is incorrect, the GSM module returns ERROR.

ATSn=x - Write to an S-register

The ATSn=x command allows you to instruct your GSM module to store the value "x" in register "n". "n" and "x" must be integers and decimal numbers.

n must designate an S-register.

x must be from "0" to "255".

Example:

 

 

Enter:

ATS0=3

GSM module:

OK

This command sets register S0 to the value "3", i.e. the GSM module automatically an- swers a call after 3 ringing signals. The GSM module acknowledges the command with OK to indicate that the command was executed and a new command can be pro- cessed.

62

Image 63
Contents GSM Contents Technical reference section Contents Technical data GSM documentationGeneral information GSM Module M1 Product description FeaturesInterface Hybrid connector manufacturer-specificGSM Module M1 Description of the interfaces SIM cardCable assignment Installation / startup Mounting the modulePower supply / power consumption Switching the GSM module on/offOvervoltage / undervoltage Installation / startupSetting / testing the COM interface Power consumptionSetting the GSM radio transfer rate ATB13ATB7 AT+CPIN=1234 Setting up and clearing down connectionsAT+CPIN? +CPIN SIM PINTroubleshooting AT&FATH Connection cannot be set up Own errorsSystem errors Incorrect characters on screen GSM module does not dialCannot receive fax Overview of AT commands General AT commands Overview of AT commands GSM AT commands GSMSMS AT commands GSM Technical reference section AT standard AT command line prefixConnecting to your GSM module Command syntax of the AT standardAT&F0 Technical reference sectionATH ATS7?Q0E1 ATD0123456789No Carrier ErrorConnect RingOperating modes Command modeTransparent mode Escape commandATOn Return to transparent mode Setting the transfer rateATH Go on-hook ATBn Select GSM module’s operating mode ATBATB99 Dial ATD+4989telephone number ATD Dial a telephone numberATD Valid dial stringsAT&Z0=123456789 AT%Dn Automatic dialing with DTRATD123456789 AtdlDisplaying and storing a configuration ATS0=n Auto-answer modeATA Answer a call Z1= Z2= Z3= AT&V Active ProfileStored Profile Telephone Numbers &Z0=ATEn Command echo Screen outputs Limits of screen outputsATQn Activate and deactivate result codes Control line options AT&Cn Data Carrier Detect DCD options ATXn Extended connect messageMemory commands AT&Dn Data Terminal Ready DTR optionsData flow control ATDS=n Dial stored telephone number AT&Wn Store configurationAT&Zn=x Store telephone number AT&Z0 =AT+CXXSN = ? AT+C commands for GSMAT&Yn Configuration at power-up ATZn Load user profile+CGMM M1 AT+CGMI+CGMI Siemens AT+CGMMAT+CEER Extended error report AT+CGSN Request product serial number IDAT+CHUP Hangup call GSM module AT+CMEE Report mobile equipment errorEnter AT+CEERAT+CREG? +CME ErrorAT+CREG? AT+CREG Network registrationAT+COPS=? EnterAT+CREG? GSM module +CREG 0,0 = not registeredAT+COPS Operator selection AT+COPS?AT+COPS=? AT+COPS?+COPS 0, 0, Operator Name AT+COPS=? Display list of available network operatorsPrivat TelekomAT+CPIN Enter PIN and query blocks AT+CPIN2 Enter PIN2 and query PIN2 blocks +CME Error Wrong Password+CPWD SC,8,PS,8, P2,8 AT+CPWD Change passwordAT+CPIN2=1234 AT+CPWD=?Receive AT+CSQ Signal qualityErrors AT+CSQ+CKPD 0123456789*#CDEISUXYZ AT+CKPD Keypad controlAT+CKPD=? AT+CKPD=?AT+CXXSN=? AT+CXXSN Single-numbering parameterizationAT+CXXSN=? +CXXSN 0,1,2AT+CXXSN=2 AT+CXXMOC=? +CXXMOC 0,1AT+CXXMOC=1 AT+CPBS Select phonebook memory storage AT+CPBS=?+CPBS MD , SM , OW , FD +CPBR index, number length, text AT+CPBR Read phonebook entriesAT+CPBR=? AT+CPBR=?AT+CPBW Write phonebook entry AT+CBST Select bearer service type AT+CBST?AT+CBST=? AT+CRC? AT+CRC Cellular result codeAT+CRC? AT+CRC=?AT+CLIP? AT+CLIP Calling line identification presentationAT+CLIP? AT+CLIP=?+CPAS 0 1 2 3 4 AT+CPAS Phone activity statusAT+CPAS=? AT+CPAS=?AT+FCLASS=? AT+FCLASS Select modeAT+FCLASS? AT+FCLASS=?AT+C commands for the short message service SMS AT+CXXCID Card identificationAT+CXXCID=? AT+CPMS Preferred message storage AT+CSMS Select message serviceParameter command syntax Values implementedAT+CMGF Message format AT+CSCA Service center addressAT+CMGR Read message Action command syntaxIf PDU mode +CMGF=0 and command successful If PDU mode +CMGF=0 If send is successful AT+CMGW Write message to memory AT+CMGD Delete message AT+CNMI New message indications Value definitions AT+CMS Error message service failure result codesAT+CMGL List messages +CMGL=?S-registers AT+FDT=AT+FCR= AT+FAAAT+FBUF?AT+FBOR ATS0=3 ATSn? Read an S-registerEnterATS0?S7? ATSn=x Write to an S-registerBinary and decimal values in S-registers Bit position registers You wish to enter the following parameter valuesDecimal input and binary storage OFF Overview of the S-registers Please noteDTR on OFF Technical reference section AT&T1 ABCAT&T0 ATIn Display GSM module I-data Interface Technical data GeneralTechnical data Hybrid connector manufacturer-specific Data Technical data GSM modesFax FAX G3GSM documentation GSM reference documents Etsi contactEuropean Telecommunications Standards Institute General information CE-Sign ServiceGeneral information