- 185 -
ref_ver Reference version information iref_ver Reference version information (handler only)
[
[[
[
C
C
L
La
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
ER ercd = ref_ver( T_RVER *pk_rver );
ER ercd = iref_ver( T_RVER *pk_rver );
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
T_RVER *pk_rver Pointer to the packet to which version information is returned
Contents of pk_rver
typedef struct t_rver {
UH maker 0 2 Kernel manufacturer code
UH prid +2 2 Kernel identification number
UH spver +4 2 ITRON specification version number
UH prver +6 2 Kernel version number
UH prno[4] +8 2 Kernel product management information
} T_RVER;
z
z
R
Re
et
tu
ur
rn
n
P
Pa
ar
ra
am
me
et
te
er
rs
s
ER ercd Terminated normally (E_OK)
[
[[
[
A
As
ss
se
em
mb
bl
ly
y
l
la
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
.include mr100.inc
ref_ver PK_VER
iref_ver PK_VER
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
PK_VER Pointer to the packet to which version information is returned
z
z
R
Re
eg
gi
is
st
te
er
r
c
co
on
nt
te
en
nt
ts
s
a
af
ft
te
er
r
s
se
er
rv
vi
ic
ce
e
c
ca
al
ll
l
i
is
s
i
is
ss
su
ue
ed
d
Register name Content after service call is issued
R0 Error code
A1 Pointer to the packet to which version information is returned
[
[[
[
E
Er
rr
ro
or
r
c
co
od
de
e
]
]]
]
None