Westermo GS-01 User Manual
Page 38
38
6195-2201
Application to GSM
AT+CMGF=0
PDU message format
GSM to application
OK
PDU mode valid
Application to GSM
AT+CMGS=14
Send complete MSG in
0001030691214365000004
PDU mode, no SC address
C9E9340B
GSM to application
+CMGS: 4
MSG correctly sent,
OK
is returned
The message
default SC address read with +CSCA command) and the TPDU message.
The length of octets 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:
0x01 (SMS-SUBMIT, no validity period)
0x03 (Message Reference)
0x06 0x91 0x21 0x43 0x65
(destination address +123456)
0x00 (Protocol Identifier)
0x00 (Data Coding Scheme: 7 bits alphabet)
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, e.g. octet
with hexadecimal value 0x2A is presented to the mobile as two characters ‘2’ (ASCII 50)
and ‘A’ (ASCII 65).
+CSAS – Save Settings
All settings specified in command +CSCA and +CSMP are stored in EEPROM if the SIM
card is a phase 1 card or in the SIM card if it is phase 2.
Application to GSM
AT+CSAS
Store +CSCA and +CSMP parameters
GSM to application
OK
Parameters are saved
+CRES – Restore settings
All settings specified in command +CSCA and +CSMP are restored from EEPROM if the
SIM card is phase 1 or from the SIM card if it is a phase 2 SIM card.
Application to GSM
AT+CRES
Restore +CSCA and +CSMP
parameters
GSM to application
OK
Parameters are restored