EasyManua.ls Logo

clare H101 - Page 140

clare H101
164 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
password
If the host is supplying a password, then ‘password_seed’ must be
non-zero, and the supplied password must be scrambled using the
combination of the CRC lookup tables and the defined seed value. This
allows passwords to be exchanged without them being readable on
RS232 data loggers etc. It also allows the password to be supplied
‘differently’ each time – if, for example, a non-zero random number is
used as the seed.
The function ‘sss_start_session()’ within the example software
demonstrates how to scramble a password.
SSSCMD_SESSION_END (command code 0x11)
It is recommended, but not essential, to send a session end command
after the host has finished with a tester. This ensures that any
password protection is cancelled and that the tester drops back to
9600 baud. This makes is quicker to start the next session as the host
can then always expect to send the initial session start request at 9600
baud.
If the ‘itemd id’, ‘instance’, or amount of supplied data is non-zero, then
the tester will respond with SSSRSP_NAK and the appropriate reason
code.
SSSCMD_NOP (command code 0x12)
This allows the host to solicit an ACK without performing any action.
The example software uses SSSCMD_NOP as a confidence test after
starting a session – primarily to check that the session baud rate is
correct. Other host systems may wish to use SSSCMD_NOP to
periodically ascertain that a session is still ‘alive’ if no other commands
have been issued for a period of time.
If the ‘itemd id’, ‘instance’, or amount of supplied data is non-zero, then
the tester will respond with SSSRSP_NAK and the appropriate reason
code.
SSSCMD_CLEAR_SCREEN (command code 0x13)
This command turns off the tester’s buzzer, and completely clears the
tester’s display. This may be useful if the default session message is
not required.
nd the def
ithout them b
the password
a non-zero
e exa
_seed’ mus
ambled using
ned seed valu
ing readable o
o be supplied
dom numbe
be
he
This
defau
d comp
lt sessi
pletely c
on mes
lears th
dem
SS
e functio
onstrate
see
on ‘sss_
es ho
time –
.
start
. It al
if, for
pas
Th
te
no
SCMD_CLEA
is command tu
er’s display. T
equired.
pond with
R_SCREEN (c
ns off the te
ime
r amount
of
SSRSP_NA
mman
)
ithout perfo
OP as
t the s
se SS
non
appropriate r
ng any
nc
ro, the
eason
cor
perio
hav
ting a
rect. Ot
odically a
bee
ple soft
session
her hos
asce
ost to s
ware us
– prim
solicit
ses S
il
It i
afte
pass
9600
can
ba
If
and tha
to star
init
end
This en
at the tes
the ne
a sessio
sures th
ster d
n end c
at an
om

Related product manuals