Siemens M1 manual AT+CSMS Select message service, Parameter command syntax, Values implemented

Page 57

Technical reference section

AT+CSMS - Select message service

This command allows you to select the short message service.

Parameter command syntax

Command

Possible response(s)

 

 

+CSMS=<service>

+CSMS: <mt>,<mo>, <bm>

 

+CSMS ERROR : <err>

 

 

+CSMS?

+CSMS: <service>,<mt>,<mo>, <bm>

 

 

+CSMS=?

+CSMS: (list of supported <service>s)

 

 

Values implemented

 

<service>:

 

0GSM 03.40 and 03.41 <mt>,<mo>, <bm>

0Type not supported

1Type supported

AT+CPMS - Preferred message storage

This command allows you to select the memory to be used for read and write operations.

Parameter command syntax

Command

 

Possible response(s)

 

 

+CPMS=<mem1> [,<mem2>]

+CPMS: <used1>, <total1>, <used2>, <total2>

 

 

+CMS ERROR : <err>

 

 

 

+CPMS?

 

+CPMS: <mem1>,<used1>,<total1>,

 

 

<mem2>,<used2>,<total2>,

 

 

 

+CPMS=?

 

+CPMS: (list of supported <mem1>s),

 

 

(list of supported <mem2>s)

 

 

Values implemented

<mem1>

String type; memory from which messages are read and deleted

“SM“

SIM message storage

<mem2>

String type; memory to which commands are written and sent

“SM“

SIM message storage

<total1>

Integer type; total number of message locations in <mem1>

<total2>

Integer type; total number of message locations in <mem2>

<used1>

Integer type; number of messages currently in <mem1>

<used2>

Integer type; number of messages currently in <mem2>

 

 

 

56

Image 57
Contents GSM Contents Technical reference section Contents Technical data GSM documentationGeneral information 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 / undervoltageSetting the GSM radio transfer rate ATB13ATB7 AT+CPIN? Setting up and clearing down connections+CPIN SIM PIN AT+CPIN=1234Troubleshooting 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 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 modesATOn Return to transparent mode Setting the transfer rateATH Go on-hook ATBn Select GSM module’s operating mode ATBATB99 ATD ATD Dial a telephone numberValid dial strings Dial ATD+4989telephone numberATD123456789 AT%Dn Automatic dialing with DTRAtdl AT&Z0=123456789Displaying and storing a configuration ATS0=n Auto-answer modeATA Answer a call Stored Profile AT&V Active ProfileTelephone Numbers &Z0= Z1= Z2= Z3=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 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+CEER Extended error report AT+CGSN Request product serial number IDAT+CHUP Hangup call 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=? +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 AT+CPBR=? AT+CPBR Read phonebook entriesAT+CPBR=? +CPBR index, number length, textAT+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? AT+CPAS=? AT+CPAS Phone activity status AT+CPAS=? +CPAS 0 1 2 3 4AT+FCLASS? AT+FCLASS Select modeAT+FCLASS=? AT+FCLASS=?AT+C commands for the short message service SMS AT+CXXCID Card identificationAT+CXXCID=? 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+CMGW Write message to memory AT+CMGD Delete messageAT+CNMI New message indications AT+CMGL List messages AT+CMS Error message service failure result codes+CMGL=? Value definitionsS-registers AT+FDT=AT+FCR= AT+FAAAT+FBUF?AT+FBOR EnterATS0?S7? ATSn? Read an S-registerATSn=x Write to an S-register ATS0=3Binary 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 Fax Technical data GSM modesFAX G3 DataGSM documentation GSM reference documents Etsi contactEuropean Telecommunications Standards Institute General information CE-Sign ServiceGeneral information