Set sms compose language and encoding +wscl, Set timestamp of mt sms +wstm – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 67

Advertising
background image

Chapter 8 – Short Messages Commands

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

67

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>
Hello how are you ?<ctrl-Z>
Note: Write a message in English

+CMGW: 4
OK
Note: Message stored in index 4

AT+WSCL=6,4

OK
Note: Set language to Chinese, encoding to UNICODE

AT+CMGS=”8585551212”<CR>
ГыЧЦ<ctrl-Z>
Note: Send a message in Chinese

+CMGS: <mr>
OK
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)

Advertising