EasyManua.ls Logo

clare H101 - Page 133

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...
<data> Ascii hex representation of the NAK reason code (for
NAK response code), contents, or the requested data
(for ACK or interim ACK response codes). Some ACKs
and interim ACKs do not return any data, in which case
<datasz> will be zero.
<crc16> Four ascii hex digits representing the 16-bit CRC of all
encoded bytes up to, but not including the CRC. Note
that if the host includes the CRC value within the CRC
calculation, then the result will always be zero for
uncorrupted data.
<cr> The end of line. This is always present.
The CRC calculation is a standard 16-bit CRC (a proper CRC, not a
checksum). The CRC, combined with the ASCII hex encoding
technique, and including <datasz> as part of the protocol, gives a very
high degree of confidence that missing, extraneous, or corrupted
characters within commands or responses will be detected. There is
very little processing overhead in producing such CRCs. Please see the
example software for routines that provide the necessary CRC
calculations.
do not ret
e zero.
gits represen
to, but
udes th
resul
s, or the req
ponse codes).
urn any data,
g the 16-bit
uding
n code (for
uested data
Some ACKs
which case
F
en
tha
our as
cod
tif
ase see t
CRC
datasz>
hat mi
or
16 b
with the
> as
part
sing, e
t CRC (a
e ASCII
of th
presen
a prope
ex e
t.
CR

Related product manuals