View Single Post
  #2   Spotlight this post!  
Unread 19-04-2010, 08:49
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Status and Error Bytes from Dashboard Packet

I've always been going off the documentation of Eric Haskins, but I don't know what the LV dashboard lays out. Later today I'll check how my code interprets the packet (I wrote it a while back) and let you know if your code looks right. At first glance that looks fine, but I'll double check for you.

The version bytes are ASCII. Also, don't forget to calculate your crc32 checksum and make sure it matches with the checksum at the end of the packet before doing any other parsing - otherwise your code is just wasting time with bad data.
__________________