Appendixes – Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual

Page 773

Advertising
background image

APPENDIXES

Technical

Appendixes

© Restricted

Page:

67 / 80

This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.

WM_DEV_OAT_UGD_049 - 001

APPENDIXES

August 23,

2007

characters for example start at code position 0980

(0

000 1001 1000 0000), which is indicated by the coding ‘13’ in byte 3

(shown by the italicized underlined digits).

• Byte 4 indicates GSM Default Alphabet character ‘53’, e.g.. "S".
• Byte 5 indicates a UCS2 character offset to the base 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 1001 0101, e.g..

‘0995’, which is the Bengali letter KA.

• Byte 8 contains 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 character (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 2

nd

byte contains the

length of the string (number of characters).The 3

rd

and 4

th

bytes contain a 16 bit

number which defines the complete 16 bit base pointer to a "half-page" in the

UCS2 code space, for use with some or all of the remaining bytes in the string.

The 5

th

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

Byte 8

Byte 9

‘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 pointer number of ‘0530’, pointing to

the first character of the Armenian character set.

• Byte 5 contains a GSM Default Alphabet character of ‘2D’, which is a dash

"-".

• Byte 6 contains a value ‘82’, which indicates it is an offset of ‘02’ added to

the base pointer, resulting in a UCS2 character code of ‘0532’, which

represents Armenian character Capital BEN.

• Byte 7 contains 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