
Chapter 7 – Short Messages Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
50
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 cWSCL
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
USC-2 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
USC-2
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)