Siemens TC63 Benutzerhandbuch

Seite von 501
TC63 AT Command Set  
1.5 Supported character sets
s
TC63_ATC_V00.490
Page 24 of 501
5/24/05
Confidential / Draft - Do not copy
 
In the event that an MS receives a code where a symbol is not represented in Figure 
  the MS shall display the character shown in the main default 7 bit alphabet table
(see Figure 
). 
1.5.2
UCS2 and GSM data coding and conversion for SMS text mode
This section provides basic information on how to handle input and output character conversion for SMS text
mode and Remote-SAT if internal (TA) and external (TE) character representation differ, i.e. if the Data Coding
Scheme and the TE character use different coding. 
1.5.2.1 Implementing output of SIM data to Terminal (direction TA to TE)
 Note: The ratio of SIM bytes to output bytes is given in parentheses.
Case 1
Every GSM character is sent to TE as it is (8-bit value with highest bit set to zero).
Example: 47'H, 53'H, 4D'H 
→ 47'H, 53'H, 4D'H, displayed as "GSM"
Case 2
Every data byte will is sent to TE as 2 IRA characters each representing a halfbyte.
Example: B8'H (184 decimal) 
→ 42'H, 38'H, displayed as "B8"
Case 3
Every 16-bit UCS2 value is sent to TE as 4 IRA characters.
Example: C4xA7'H (50343 decimal) 
→ 43'H, 34'H, 41'H, 37'H, displayed as "C4A7"
Problem: An odd number of bytes leads to an error because there are always two bytes needed for each USC2
character
Case 4
Every GSM character is sent to TE as 4 IRA characters to show UCS2 in text mode.
Example: 41'H ("A") 
→ 30'H, 30'H, 34'H, 31'H, displayed as "0041"
Case 5
Every data byte is sent to TE as IRA representation of UCS2 (similar to case 4).
Example: B2'H 
→ 30'H, 30'H, 42'H, 32'H, displayed as "00B2"
Case 6
Every 16-bit value is sent to TE as IRA representation of it. It is assumed that number of bytes is even.
Example: C3x46'H 
→ 43'H, 33'H, 34'H, 36'H, displayed as "C346"
Used character set
DCS = 7 bit
GSM
DCS = 8 bit
Data
DCS = 16 bit
UCS2
GSM
Case 1
GSM (1:1)
Case 2
8 bit to IRA (1:2)
Case 3
UCS2 to IRA (2:4)
UCS2
Case 4
GSM to IRA (1:4)
Case 5
8 bit to IRA (1:4)
Case 6
UCS2 to IRA (2:4)