Westermo GDW-11 User Manual

Page 368

Advertising
background image

368 Structure of TERMINAL PROFILE

6615-2220

• Byte 4 indicates GSM Default Alphabet characte“r ”‘53’, e.g.. "S".

Byte 5 indicates a UCS2 character offset to the ba‘se ’pointer of '15', expressed in
binary as follows 001 0101, which, when added to the base pointer value results in
a sixteen bit value of 0000 1001 100‘1 010’1, e.g.. '0995', which is the Bengali letter
KA.

Byte 8 conta‘ins’ the value 'FF': as the string length is 5, this a valid character in the
string, where the bit pattern 111 1111 is added to the base pointer, yielding to a
sixteen bit value of 0000 1001 1111 1111 for the UCS2 chara‘cter ’(that is '09FF').

• Byte 9 contains the padding value OxFF.

3)

If the first byte of the alpha string is set to 0x82, then the 2nd byte contains
the length of the string (number of characters).

The 3rd and 4th bytes contain a 16 bit number which defines the complete 16 bit base“
pointer t”o a "half-page" in the UCS2 code space, for use with some or all of the
remaining bytes in the string.

The 5th and subsequent bytes in the string contain coding as follows:

If bit 8 of the byte is set to zero, the remaining seven bits of the byte contain a
GSM Default Alphabet character.

If bit 8 of the byte is set to one, the remaining seven bits are an offset value added
to the base pointer defined in bytes 3 and 4, and the resulting 16 bit value is a
UCS2 code point, and defines a UCS2 character.

Example 3

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

’yt’

‘82’ ‘05’ ‘05’ ‘30’ ‘2D’ ‘82’ 'D3' '2D' '31'

In the example above:

• Byte 2 indicates there are 5 characters in the string

Bytes 3 and 4 contain a 16 bit base poin‘ter n’umber of '0530', pointing to the first
character of the Armenian character set.

• Byte 5 contains a GSM Default Alphabet‘ ch’aracter of '2D', wh“ic“h is a dash "-".

Byte 6 con‘tai’ns a value '82', which indicates it is‘ an’ offset of '02' added to the
base pointer, resulting in a UCS2 char‘acter’ code of '0532', which represents
Armenian character Capital BEN.

Byte 7 con‘tai’ns a value 'D3',‘ an’ offset of '53', which when added to the base
pointer results in a UCS2 ‘code ’point of '0583', representing-Armenian Character
small PIWR.

Advertising
This manual is related to the following products: