Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set Short Message Commands
7-7
Defined values:
<mode> PDU or text mode
0 PDU mode
1 Text mode
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).
Save Settings: +CSAS
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.
Command syntax: AT+CSAS
Command Possible responses
AT+CSAS
Note: Store +CSCA and +CSMP parameters
OK
Note: Parameters saved
Defined values: No parameter
Restore Settings: +CRES
Description: All settings specified in the +CSCA and +CSMP commands are restored from
EEPROM if the SIM card is Phase 1 or from the SIM card if it is a Phase 2 one.
Command syntax: AT+CRES
Command Possible responses
AT+CRES
Note: Restore +CSCA and +CSMP parameters
OK
Note: Parameters restored
Defined values: No parameter
Show Text Mode Parameters: +CSDH
Description: This command gives additional information on text mode result codes. This
information can be found in the description of the +CMT, +CMGR, +CMGL commands and
responses.
Command syntax: AT+CSDH=<n>