EasyManua.ls Logo

clare H101 - Page 136

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...
3. R
Response Codes
There is a restricted set of response codes that can be generated by
the tester. These response codes are always distinct from command
codes.
SSSRSP_NAK (response code 0x00)
This response code is sent by the tester when a command is properly
formatted in terms of the protocol wrapper (length, CRC, etc), but does
not contain a properly formatted command (incorrect amount of data,
unknown command, incorrect item id or item instance, etc), or if the
command cannot be executed for some reason.
NAK responses sent by the tester always include 1 data byte. For a
NAK this data byte is referred to as the NAK reason code. The following
table describes the possible NAK reason codes:
Mnemo
nic Value
Descr
ip
tion
SSSNAK_NO_SESSION
0x01 Cannot execute a command because no session
has been started yet.
SSSNAK_PASSWORD 0x02 Either the password supplied for a session start
request is incorrect, or an attempt has been made
to perform a password protected command within
a restricted session.
SSSNAK_INVALID_CMD 0x03 Unknown SSS protocol command.
SSSNAK_ITEM_ID 0x04 The specified item identifier is unknown or
incorrect.
SSSNAK_INSTANCE 0x05 The specified item instance doesn't exist (instance
number is too large).
SSSNAK_WRONG_CMD_TYPE 0x06 The command/item combination is incorrect (eg
attempt to set a string with an integer value).
SSSNAK_INVALID_SIZE 0x07 Too much string data, wrong number of strings, or
incorrect number of bytes (eg float or struct of
incorrect size).
SSSNAK_INVALID_VALUE 0x08 Value/setting/parameter is outside of legal range,
or bad characters within a string, etc.
SSSNAK_READ_ONLY 0x09 Cannot set item - it is read only.
SSSNAK_FUNCTIONALITY 0x0A Incomplete tester functionality - feature not
implemented yet.
SSSNAK_OPERATION_SEQ 0x0B An operation is being attempted out of sequence
(eg saving a testfile before a testfile
download).
SSSNAK_FULL 0x0C Can't accept testfile entry, results upload, etc
because there is insufficient space remaining.
SSSNAK_EE_FAILED 0x0D EEProm operation failed (eg flash erasure,
programming, etc).
when a
er (leng
(inco
be generate
nct from comm
nd is
d by
and
operat
mming, et
nsuffi
ci
on failed
c).
results u
ent space re
eg flash e
pload, etc
emaining
unkn
com
atted
contain
nown co
mand c
nse co
in terms
n a prop
mma
de is se
s of the
erly f
e cod
ent b
pro
3
.
SS
SNAK_FULL
NAK_EE_FAILED
ON_SEQ 0x
0x0
x09 Can
x0A Incom
implem
0B An
(e
dow
fied
item
rect.
e specified item
ins
mber is too large).
command/ite
m c
t to set a st
ch string
number
ize)
ed co
col command.
entifier is unknown
nce doesn't exist (ins
nation is incorr
n integ
start
en made
nd with
r
SSSN
SS
AK_INVAL
VALID_SI
LID V
MD_TYP
IZE
0
E 0x
0
NA
tab
M
n
e
m
o
SSSN
SSS
D
e
s
c
r
Can
has b
AK re
n codes
t
i
o
n
e 1 d
ason co
s:
ata byte
ode. Th
. Fo
fo

Related product manuals