Protocol Of Communication; Bidirectionnal Packets; Generic Packet; Format Of That Packet - Baracoda RoadRunners Laser Supplementary Manual

Communication-protocol
Hide thumbs Also See for RoadRunners Laser:
Table of Contents

Advertisement

RoadRunners – Communication Protocol

1. Bidirectionnal packets

1.1. Generic packet

All frames that are described in the following have to follow the following format of packet. That
is available for communication from the scanner to the host and from the host to the scanner.

1.1.1. Format of that packet

Code ID

1.1.2. Explanations

Code ID [1 Byte] :
-
Bits 7:5 is the logical device
o
Bits 4:1 is the command
o
Bit 0: when set, the message must be acknowledged ( => "sequence number" is
o
required)
The response / Event will have the same code ID as the command.
Size of payload [2 Bytes]
-
This is big-endian format
o
This is including the "sequence number byte" if this one is required.
o
-
Payload [N Bytes] :
1 byte for "sequence number" when applicable
o
TF -
January 2007

Protocol of communication

Header
Size of payload
1 Byte
2 Bytes
Protocol of communication
Payload
Command parameter(s)
Event parameter(s)
N Bytes
4

Advertisement

Table of Contents
loading

Table of Contents