BioMax2 / KBio2-Online
Installation and Programming Manual
Page
48 of 91
To speed up data transmission to the serial ports (e.g. for biometric data transmission),
the UDP frames have the Extra Data field that encodes the end of the frame:
<OPC><NA><ARG><CRC><ETB>&b[Length][Data]
<ETB>
:
Extra Data start indicator (
End Transmission Block
, ASCII
$17
).
‘
&b
’:
Binary format Extra-Data indicator via UDP.
[Length]
: 2 bytes in binary format. The maximum supported length is
912 .
[Data]
: String
of
[Length]
bytes. This contains the information
directly expressed in binary format.
9.3. KSP UDP frame format
If the
BioMax2 / KBio2-Online
electronics 6000 IP port is used, the frames should be in
the following format:
<AppID><NodeID><KSP_Opc><Len><Lbl><OPC><ARG>
Where:
<AppID>:
[ 1 byte ] Application identifier (see
)
<NodeID>:
[ 1 byte ] Node identifier (see
)
<KSP_Opc>:
[ 1 byte ] Its value is
$F8
for the data frames.
<Len>:
[ 1 byte ] Length afterwards. Its value is 2 + NA.
<Lbl>:
[ 1 byte ] Value that is always different, indicating the frame
number (“label”).
<OPC>:
[ 1 byte ] This parameter indicates the meaning of the frame
and enables you to interpret the data it contains. It is a binary
byte.
<ARG>:
[ NA bytes ] This contains the frame information. This field
will be made up of <NA> bytes with information directly
encoded in binary format.
In some cases, the
BioMax2 / KBio2-Online
electronics will simply transfer the data
received from a slave reader. In this case, this data can be encapsulated as Extra Data at
the end of the KSP frame:
<Frame_KSP><ETB>&b[Length][Data]
<ETB>
:
Extra Data start indicator (
End Transmission Block
, ASCII
$17
).