Multi-Tech Systems GPRS (MTSMC-G) Network Router User Manual


 
Chapter 13 – Specific AT Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 124
Custom Character Set +WCCS
Description: This command allows you to edit and display the custom character set tables. These tables are used by
the “CUSTOM” mode of +CSCS and the +WPCS commands. In this CUSTOM mode, when you enter a
string, it is converted into the GSM alphabet using the Custom To GSM table. In a similar way, when the
user requests a string display, the string is converted from the GSM alphabet using the Custom
alphabet and Custom alphabet extension tables.
In edition mode, the session is terminated by <ctrl-Z> or aborted by <ESC>. Only hexadecimal
characters (‘0’…’9’, ‘A’…’F’) can be used. The number of characters entered must equal the edition
range requested; otherwise, the command will return “+CME ERROR: 24”.
The default Custome alphabet extension table contains the following extended characters:
| ^
ε { } [ ] ~ \
Values: <mode>
0 Display the table
1 Edit the table
<table>
0 Custom to GSM conversion table (default table is PCCP437 to GSM table)
1 Custom alphabet table (default table is GSM 7 bit default alphabet)
2 Custom alphabet extension table (default table is GSM 7 bit default alphabet extended)
<char 1>, <char 2> Character range to display/edit
0…127 for table 1 and 2
0…255 for Custom to GSM conversion table
Notes:
<char1> and <char2> are not ASCII codes; they stand for the range of a given character in
the tables.
If only <char 1> is provided, only this char is displayed/edited
See Appendix C for informative examples of the use of these characters.
Syntax: Command syntax: AT+WCCS=<mode>,<table>,<char 1>[,<char 2>]
Command Possible responses
AT+WCCS=0,0,120,130
Note: Display from character 120 to character 130 of the
Custom to GSM conversion table
+WCCS: 11,
78797A2020202020097E05
OK
Note: 11 characters displayed
AT+WCCS=1,0,115<CR>
20<ctrl-Z>
Note: Edit character 115 of the Custom to GSM conversion
table
OK
Note: Edition successful
AT+WCCS=1,1,0,4<CR>
40A324A5E8<ctrl-Z>
Note: Edit the 5 first characters of the GSM to Custom
conversion table
OK
Note: Edition successful
AT+WCCS=0,2,20<CR>
Note: Display character 20 of the Custom alphabet extension
table
+WCCS: 1,5E
OK
AT+WCCS=1,1,200
Note: Edit character 200 of GSM to Custom conversion table
+CME ERROR: 3
Note: Index out of range