PDA

View Full Version : RS232 data stream format



josefodunga
05-10-2011, 04:53 AM
Hi,

I've been trying to interface a Video VBOX Lite with another device through serial stream.
I read the document called RS232 Data Format and it gives me the following Message Format:
$VBOXII,nnnn0000,stttaaaaoooovvhheezzmmmggcc

But from what I've seen by analyzing the format I get an additional two bytes in that message and the format is different. The format I get from my VBox is as follows:

$VBOXV$,nnnn0000,stttaaaooovvhheezz mmmgg**cc
The red text portion is the part I'm not sure what it means and I get two additional bytes marked as **.

I was wondering if anybody knew the structure of the message and the meaning of the bytes in the message.

Thanks

Steve
05-10-2011, 10:37 AM
Hopefully this attached PDF will help you...

josefodunga
05-10-2011, 01:54 PM
Yes, exacty what I was looking for.
Thanks. :thumbsup:

On another note I'm a little confused about channel flags and what this means.
Do these change when you have a CAN connection to the vehicle and what values should I expect in $NEWCAN and in nnnn iiii in the $VBOXV$ area.