Chapter 8 – Short Messages Commands

Set SMS Compose Language and Encoding +WSCL

Description: The +WSCL command sets the SMS composition language and encoding types. When composing a message (+CMGS, +CMGW), the SMS language and encoding fields will be set using the current +WSCL value.

Values:

<lang>

 

 

0: Unspecified

 

 

1: English

 

 

2: French

 

 

3: Spanish

 

 

4: Japanese

 

 

5: Korean

 

 

6: Chinese

 

 

7: Hebrew

 

 

<enc>

 

 

0: Octet (or Unspecified)

 

 

1: IS91EP

 

 

2: ASCII

 

 

3: IA5

 

 

4: UNICODE

 

Syntax:

Command syntax: AT+WSCL = <lang>, <encod>

 

Command

Possible Responses

 

AT+WSCL=1,2

OK

 

 

Note: Set language to English, encoding to ASCII

 

AT+CMGW=”8585551212”<CR>

+CMGW: 4

 

Hello how are you ?<ctrl-Z>

OK

 

Note: Write a message in English

Note: Message stored in index 4

 

AT+WSCL=6,4

OK

 

 

Note: Set language to Chinese, encoding to UNICODE

 

AT+CMGS=”8585551212”<CR>

+CMGS: <mr>

 

Ãû×Ö<ctrl-Z>

OK

 

Note: Send a message in Chinese

Note: Message sent

Set Timestamp of MT SMS +WSTM

Description: The +WSTM command sets the timestamp that will be used when the modem receives a Mobile Terminated SMS. When a new MT SMS message is received the setting of this command determines if the timestamp that was received with the message is kept, or modem’s CDMA time, which represents the actual time of message arrival is used. When choosing to use modem’s CDMA time, the command gives the option of using local or GMT time.

Values:

<ts>

 

 

0: Original Time Stamp of the received MT SMS

 

1: Time of arrival – GMT Time

 

2: Time of arrival – Local Time

Syntax:

Command syntax: AT+WSTM = <ts>

 

Command

Possible Responses

 

 

 

 

AT+WSTM=2

OK

 

 

Note: Set MT SMS timestamp to time of arrival (local time zone)

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

67

Page 67
Image 67
Multi-Tech Systems CDMA Wireless Modem manual Set SMS Compose Language and Encoding +WSCL, Set Timestamp of MT SMS +WSTM