documentation error/command separators.
Up to Software suite V2 - Middleware - tux_driver
The driver doc gives a generic template for commands (p 73/74):
A command is formuled in a string with the following format :
<command group>:<command>:<sub
command>:<p0>,<p1>,<p2>, ...,<pn>Examples
TUX_CMD:WINGS:ON:4,DOWN
RAW_CMD:0x01:0x02:0x00,0x00,0xFE
However on page 110 it gives as example:
TUX_RAW:0x01,0x01,0x00,0x00,0xFE
Here the delimiter for the first two bytes is a comma, not a colon.
Are both acceptable? If so p73 needs updating. Or is the example of p 110 wrong?
Also the example on p 110 is wrong in another area. The code says RAW_CMD, not TUX_RAW (although the latter is perhaps more clean).
Yes some mistakes are currently in the documentation. I will correct it when libtuxdriver is in beta version.
About the separators, the parser don't makes any difference between : and ,
RAW_CMD is out of the general canvas (<command group>:<command>:<sub
command>:<p0>,<p1>,<p2>, ...,<pn>
Do you have an idea to changes the RAW command in order to insert it in the general canvas ?