RoadRunners – Communication Protocol
TF -
Protocol of communication
34/46
January 2007
5.3/ Special Commands (Type "E")
Some commands require more than a Boolean digit and require one or more arguments.
Special commands will be used in this case (defined code "E" in type field). It is made of one
byte corresponding to the type of command. Then, depending on the type of command, a
certain number of parameters will be expected. Each of these will be 1 byte long.
This type of command allows the sending of multiple commands in one frame. The Size field
must then specify the total length, in bytes, of the command field.
SPECIAL COMMANDS
CODE ASCII
DESCRIPTION
PARAMÈTRE(S)
A
DEFINE AND ENABLE MIN. LENGTH
[MIN LENGTH]
B
DEFINE AND ENABLE MAX. LENGTH
[MAX LENGTH]
C
DEFINE AND ENABLE LENGTH FRAME
[MIN LENGTH][MAX
LENGTH]
D
DEFINE VOTING VALUE (*)
[VOTING]
E
GET VOTING VALUE
-
F
DEFINE GS REPLACEMENT CHARACTER
[CHAR]
G
GET GS REPLACEMENT CHARACTER
-
H FREE
FREE
… …
…
(*): this command will only de effective with ‘A’ header. Otherwise, it will be ignored.
Values accepted for voting are: 2, 3, 4. this command is also unavailable with Pencil2
scanner.