Examples about short messages, Example 1: send a short message – Westermo GDW-11 User Manual

Page 351

Advertising
background image

Examples 351

6615-2220

Examples about short messages

Example 1: Send a short message

Command example

Possible responses

Note

AT+CNMI=0,1,1,1,0 OK

SMS-DELIVERs are directly
stored, SMS-STATUS
REPORTs are displayed

AT+CSMP=17,169,0,0 OK

SMS-SUBMIT message with
a validity period (one day)

AT+CMGF=1 OK

Text mode to send a Short
Message

AT+CSCA=”+33608080706” OK

Set Service Center Address
to +33608080706

AT+CMGS=0601290800

Send a SMS-SUBMIT to
mobile phone

0x0D 0x0A 0x3E 0x20

Product sends a 4 charac-
ters sequence:

This is the first text

Edit first line and press

line<CR>

carriage return (0x0D)

This is the last text

Edit last line and send

line<ctrl-Z>

message by pressing

<ctrl-Z>(0x1A)

+CMGS:

5

Success: message reference
5 is returned from the SMS
Service Center

+CDS: 2,5,”0601290800”,

Success: report of success-

129,”99/05/01

14:15:10+04”

ful

message

delivery

received

Advertising
This manual is related to the following products: