Csas – save settings – Westermo GDW-11 User Manual

Page 89

Advertising
background image

Short Messages commands 89

6615-2220

+CSAS – Save Settings

Description:

All settings specified by the +CSCA and +CSMP commands are stored in EEPROM if the
SIM card is a Phase 1 card or in the SIM card if it is a Phase 2 SIM card.

Syntax:

AT+CSAS

Parameters:

<mode> PDU or text mode

0: PDU mode

1: Text mode

NOTE:

The <pdu> message is composed of the SC address (00 means no SC address given, use
default SC address read with +CSCA command) and the TPDU message.

In this example, the length in bytes of the TPDU buffer is 14, coded as GSM 03.40

In this case the TPDU is: 0x01 0x03 0x06 0x91 0x21 0x43 0x65 0x00 0x00 0x04 0xC9
0xE9 0x34 0x0B, which means regarding GSM 03.40:

<fo>

0x01 (SMS-SUBMIT, no validity period)

<mr>

(TP-MR) 0x03 (Message Reference)

<da>

(TP-DA) 0x06 0x91 0x21 0x43 0x65 (destination address +123456)

<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).

Command example

Possible responses

Note

AT+CSAS OK

Store +CSCA and +CSMP
parameters

Advertising
This manual is related to the following products: