Re: [tuxdroid-user] cmd_dispatch size inconsistency
Status: Beta
Brought to you by:
ks156
From: neimad <ror...@gm...> - 2007-06-03 20:23:23
|
"David Bourgeois" <da...@ja...> writes: > In the old USB firmware (the buggy one) I think status were retrieved > from the dongle one 5 bytes frame at a time. I guess that's where all > this comes from. Now we get the complete buffer in one request (64 > bytes) in which the 4 first bytes are various information from the > USB IC ad the 60 remaining bytes can be 15 status from tux. A status > frame is 4 bytes, the first byte is the status type and the 3 > remaining bytes are the values. (I still don't like this 4 byte frame > but that's how it's been done in the RF so we don't much choice > here.) > > So to answer your question, yes we should drop that last byte together > with TUX_RECV_LENGTH. Great, I'll patch this tomorrow. Damien |