18 set text mode parameters +csmp, 1 description, 2 syntax – Rainbow Electronics 900 User Manual

Page 86: 3 defined values, Set text mode parameters +csmp

Advertising
background image

FLYFOT-M260-MODULE

Page: 86 / 239

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

<pid> (TP-PID) 0x00 (Protocol Identifier)
<dcs> (TP-DCS) 0x00 (Data Coding Scheme : 7 bits alphabet)
<length> (TP-UDL) 0x04 (User Data Length, 4 characters of text)
TP-UD 0xC9 0xE9 0x34 0x0B (User Data : ISSY)
TPDU in hexadecimal format must be converted into two ASCII characters. For
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

9.18.1 Description

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

9.18.2 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

9.18.3 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

Advertising