EasyManua.ls Logo

clare H101 - Page 138

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...
4. G
eneral Protocol Commands
SSSCMD_SESSION_START (command code 0x10)
The “session start” command must be issued before any other protocol
commands. This command is used to:
• Ascertain that the host and tester SSSCMD protocol
implementation
• versions are compatible.
• Specify the baud rate for subsequent command exchanges.
• Supply any password that may be required for subsequent
operations.
It is possible to send a session start command at any time – for
example if a new baud-rate is required, or if password protection is to
be temporarily enabled and then cancelled, or if the tester was left with
a previous session still running. However, it is recommended that under
normal circumstances, when a host has finished with a tester, that the
host should send a session end command to ensure that any password
protection is cancelled and that the tester drops back to 9600 baud.
The data associated with the session start command is as follows:
typedef struct _ssscmddata_session_start {
u8 protocol_ver;
u8 baud_code;
u8 password_seed;
u8 password[ARRAYSZ_SSS_PASSWORD];
} ssscmddata_session_start;
If the ‘itemd id’, ‘instance’, or amount of supplied data is incorrect, then
the tester will respond with SSSRSP_NAK and the appropriate reason
code.
protocol_ver
This describes the SSS CMD protocol version implemented by the
host. Currently any value other than 0 will cause the command to be
rejected with SSSRSP_NAK with the reason code set to
SSSNAK_INVALID_VALUE.
sued befo
:
r SSSCMD
t com
re any other p
ocol
otocol
•
ver
•
Spe
Suppl
ope
emen
sions ar
cify the
yan
hat the
ation
e comp
b
e host
atib
4
.
SNAK_INVA
SSS CM
ny value oth
SSRSP_NAK w
LID_VALUE.
D protocol ve
er than 0 wi
th the
SSS_PASSWORD]
supplie
and t
as foll
t {
d.
s:
cod
pr
tester w
e.
d id’, ‘i
will resp
ata_s
nstance
ond w
rd
word
ession
’, o
exa
be t
pre
norma
ho
pro
T
ancel
oweve
r
st has
mm
or if pa
le
d, or i
, it is rec
nish
at any
ssword
f the tes
com
time – f
protec
or

Related product manuals