In tos2, there is a program called prettylisten in /tinos-2.x/support/sdk/c It's pretty easy to modify so you can dump the messages, I did that so I could put it in matlab. Eric
On Thu, Apr 24, 2008 at 2:24 AM, Nikhil Singhal <[EMAIL PROTECTED]> wrote: > Hi > > Is there any way to get the raw packet stream in Java so that I can parse it > by hand? When I try to use the Listen or ListenRaw tools, I get the > following error message repeatedly: > serial@/dev/ttyUSB1:57600: ignoring unknown packet type 0x42 > > (Some context: I'm using the XBow MTS420CC GPS board, and the only way I can > get it to work is if I use their custom-made xmesh code. This is apparently > sending a packet of a type that the existing tools cannot parse. However, I > have figured out the offsets for the data I need, so I don't need any > unframing etc done for me. All I need is access to the raw bit stream, which > I guess is in the form of a char array.) > > Thanks! > -- > Nikhil > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
