2 ira character set – Rainbow Electronics GM862-QUAD-PY User Manual

Page 67

Advertising
background image





GM862-QUAD / PY Software User Guide

1vv0300747 Rev. 3 - 10/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 67 of 96

<totalw> max number of SMS that <memw> can contain
<useds> - number of SMS stored into <mems>
<totals> max number of SMS that <mems> can contain


From this response you can check if the selected storage has room for new SMSs, the free positions
in the storage X (where X can be r,w,s ) are <totalX> -<usedX>.

3.5.2 IRA character set

The character set used in SMS text mode is the IRA.
This set defines each char as a 7-bit value, hence from 0x00 to 0x7F. The table below reports all the
chars supported and their hexadecimal code. To obtain the code for a char in the table remember that
in the row it is reported the least significant nibble (4 bits) and in the column the most significant
nibble. The empty cells correspond to reserved combinations.

Most Significant Nibble

0x

1x

2x

3x

4x 5x 6x

7x

x0

SP

1

0

@

P

p

x1

!

1

A

Q

a

q

x2

"

2

B

R

b

r

x3

#

3

C

S

c

s

x4

$

4

D

T

d

t

x5

%

5

E

U

e

u

x6

&

6

F

V

f

v

x7

'

7

G

W

g

w

x8

(

8

H

X

h

x

x9

)

9

I

Y

i

y

xA LF

2

*

:

J

Z

j

z

xB

+

;

K

k

xC

,

<

L

l

xD CR

3

-

=

M

m

xE

.

>

N

n

L

e

a

s

t

S

ig

n

if

ic

a

n

t

N

ib

b

le

xF

/

?

O

£

o

1

- SP stands for space character

2

- LF stands for Line Feed character

3

- CR stands for Carriage Return character



For example:
1- Let's assume you want to find the IRA code for the character '&':
From the table you find:
- most significant Nibble: 2
- least significant Nibble: 6
Hence the IRA code for the '&' character is the hexadecimal 0x26.

Advertising