Siemens M1 manual AT+CMGW Write message to memory, AT+CMGD Delete message

Page 60

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

Possible response(s)

 

 

If PDU mode (+CMGF=0):

+CMGW: <index>,

+CMGW= <length> [,<stat>]<CR>PDU

+CMS ERROR : <err>

is given <ctrl-Z/ESC>

 

 

 

+CMGW=?

 

 

 

AT+CMGD - Delete message

This command allows you to delete a short message from <mem1> at the location <in- dex>.

Action command syntax

Command

Possible response(s)

 

 

+CMGD= <index>

+CMS ERROR : <err>

 

 

+CMGD=?

 

 

 

AT+CNMI - New message indications

This command allows you to determine how the TE will be notified when a short mes- sage is received from the network, when the TE is activated.

Parameter Command Syntax

Command

 

Possible response(s)

 

 

+CNMI=[<mode>[,<mt>[,<bm>[,<ds>

+CMS ERROR : <err>

[,<bfr>]]]]]

 

 

 

 

 

+CNMI?

 

+CNMI: <mode>,<bm>,<ds>, <bfr>

 

 

 

+CNMI=?

 

+CNMI: (list of supported <mode>s),

 

 

(list of supported <mt>s) , (list of sup-

 

 

ported <bm>s) , (list of supported

 

 

<ds>s) , (list of supported <bfr>s)

 

 

 

<ds>

Sets result code indication routing for SMS-STATUS-REPORTS.

<bfr>

Defines the handling method for buffered result codes when

 

<mode> 1,2 or 3 is enabled.

 

 

 

59

Image 60
Contents GSM Contents Technical reference section Contents Technical data GSM documentationGeneral information 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 / undervoltageSetting the GSM radio transfer rate ATB13ATB7 Setting up and clearing down connections AT+CPIN?+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 AT command line prefix Connecting to your GSM moduleCommand 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 modesATOn Return to transparent mode Setting the transfer rateATH Go on-hook ATBn Select GSM module’s operating mode ATBATB99 ATD Dial a telephone number ATDValid dial strings Dial ATD+4989telephone numberAT%Dn Automatic dialing with DTR ATD123456789Atdl AT&Z0=123456789Displaying and storing a configuration ATS0=n Auto-answer modeATA Answer a call AT&V Active Profile Stored ProfileTelephone Numbers &Z0= Z1= Z2= Z3=ATEn Command echo Screen outputs Limits of screen outputsATQn Activate and deactivate result codes ATXn Extended connect message Control line options AT&Cn Data Carrier Detect DCD optionsMemory commands AT&Dn Data Terminal Ready DTR optionsData flow control 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+CEER Extended error report AT+CGSN Request product serial number IDAT+CHUP Hangup call 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=? +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 Read phonebook entries AT+CPBR=?AT+CPBR=? +CPBR index, number length, textAT+CPBW Write phonebook entry AT+CBST Select bearer service type AT+CBST?AT+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+C commands for the short message service SMS AT+CXXCID Card identificationAT+CXXCID=? AT+CSMS Select message service Parameter command syntax Values 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+CMGW Write message to memory AT+CMGD Delete messageAT+CNMI New message indications AT+CMS Error message service failure result codes AT+CMGL List messages+CMGL=? Value definitionsS-registers AT+FDT=AT+FCR= AT+FAAAT+FBUF?AT+FBOR ATSn? Read an S-register EnterATS0?S7?ATSn=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 Overview of the S-registers Please note OFFDTR on OFF Technical reference section AT&T1 ABCAT&T0 ATIn Display GSM module I-data Technical data General InterfaceTechnical data Hybrid connector manufacturer-specific Technical data GSM modes FaxFAX G3 DataGSM documentation GSM reference documents Etsi contactEuropean Telecommunications Standards Institute Service General information CE-SignGeneral information