Rainbow Electronics MG260 User Manual

Page 87

Advertising
background image

FLYFOT-MG260-MODULE

Page: 87 / 246

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

example, the byte 0x2A is presented to the ME as two characters ‘2’ (ASCII 50)and ‘A’ (ASCII 65).




9.18 Set Text Mode Parameters +CSMP

Description

This command is used to select a value for <vp>, <pid>, and <dcs>.

Syntax ;

Command syntax : AT+CSMP=<fo>, <vp>, <pid>,<dcs>
Command

Possible responses

AT+CSMP?
Note : current values

+CSMP: 0,0,0,0
OK
Note : No validity period
<dcs>= PCCP437 alphabet (8 bits " 7bits)

AT+CSMP=17,23,0,0
Note :<vp> = 23 (2 hours, relative format)
Remind to enter <fo> value in decimal
notation.

OK
Note : Command correct

Defined values

The <fo> byte comprises 6 different fields :
B7 B6 B5 B4 B3 B2 B1 B0
RP

UDH
I

SRR VPF

RD MTI

Note: <fo> must be entered in DECIMAL format. Hexadecimal format would
lead to unrelevant result.
RP : Reply Path, not used in text mode.

UDHI : User Data Header Information, b6=1 if the beginning of the User
Data field contains a Header in addition to the short message. This
option is not supported in +CSMP command, but can be used in
PDU mode (+CMGS).

SRR : Status Report Request, b5=1 if a status report is requested. This

mode is supported.

VPF : Validity Period Format

b4=0 & b3=0 -> <vp> field is not present
b4=1 & b3=0 -> <vp> field is present in relative format
Others formats (absolute & enhanced) are not supported.

Advertising