2 ira character set, At+cpms=<memr>,<memw>,<mems><cr – Rainbow Electronics GM862-GPS User Manual
Page 68

GM862-GPS Software User Guide
1vv0300729 Rev. 5 - 05/07/07
Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved
page 68 of 120
•
send command
AT+CPMS=<memr>,<memw>,<mems><cr>
where:
<memr>: memory storage for Read and Delete commands
- "SM"
- "ME" (No Delete operations allowed)
<memw>: memory storage for Write and Send commands
<mems>: memory storage for new incoming message saving
- "SM" only
•
wait for response in the format:
+CPMS:<usedr>,<totalr>,<usedw>,<totalw>,<useds>,<totals>
OK
where
<usedr> - number of SMS stored into <memr>
<totalr> - max number of SMS that <memr> can contain
<usedw> - number of SMS stored into <memw>
<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
L
e
a
s
t
S
ig
n
if
ic
a
n
t
N
ib
b
le
x8
(
8
H
X
h
x