Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual

Page 430

Advertising
background image


Short message Commands

Send Message +CMGS

©Restricted

Page:

84 / 202

This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.

WM_DEV_OAT_UGD_049 - 001

VOLUME 3

August 23, 2007

17.9.3

Parameters and Defined Values

<da>:

destination address

string type

<toda>:

type of address of da

<length>:

text mode (AT+CMGF=1): number of characters

PDU mode (AT+CMGF=0): length of the TP data unit in bytes

integer type

<mr>:

message reference

integer type

17.9.4

Parameter Storage

None.

17.9.5

Examples

Command

Responses

AT+CMGS="+33146290800"<CR>

>

Please call me soon, Fred.
<ctrl-Z>

Note: Send a message in text mode

+CMGS: <250>

OK

Note: Successful transmission

AT+CMGS=<length><CR>

Note: Send a message in PDU mode (1/3)

>

<pdu>

Note: Enter message in PDU mode (2/3)

<ctrl-Z>

Note: End the message (3/3)

+CMGS: <251>

OK

Note: Successful transmission

17.9.6

Notes

The message reference, <mr>, which is returned to the application is allocated by the

product. This number begins with 0 and is incremented by one for each outgoing

message (successful and failure cases); it is cyclic on one byte (0 follows 255). This

number is not a storage number – outgoing messages are not stored.

Advertising