Your hal tester – Seaward ClareHAL User Manual
Page 140

139
baud_code
The required baud rate for subsequent communications:
0 = 9600 baud
1 = 19200 baud
2 = 28800 baud.
Any other value will cause the command to be rejected with
SSSRSP_NAK with the reason code set to SSSNAK_INVALID_VALUE.
The tester sends the ACK or NAK at the prevailing baud rate before
switching to the new baud rate.
When the tester is first placed into ‘remote mode’ it will always be
listening for SSS commands at 9600 baud. Similarly after receiving an
SSSCMD_SESSION_END command the tester drops back to 9600
baud. However, it is possible that a tester gets left in a state where a
session continues running at different baud rate. Therefore a host
should attempt to perform a session start command at 9600 baud,
before trying 19200, then 28000. The supplied example software
demonstrates baud-rate hunting when establishing sessions.
password_seed
If the tester does not have a password set, then the session will run as
a unrestricted session, and the contents of ‘password_seed’
and‘password[]’ are ignored.
If the tester has a password set, and ‘password_seed’ is zero, to
indicate that the host has not provided a password, then the tester
ignores the contents of ‘password[]’, and the session will run as a
restricted session - it will not be possible to perform commands for
which an unrestricted session is required.
If the tester has a password set, and ‘password_seed’ is non-zero, then
the seed is used to unscramble the contents of ‘password[]’. If the
unscrambled password matches the tester’s password, then the
session will run as an unrestricted session and the tester responds with
SSSRSP_ACK_FINAL.. If the passwords do not match then the tester
responds with SSSRSP_NAK with the reason code set to
SSSNAK_PASSWORD.
Your HAL tester