You might want to do a quick Google search for "Octave Deciphering TinyOS
serial packets"
First hit:
http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf
You have to first implement the CRC creation algorithm after you escape the
packet.
Good luck :).
Sankar.
----- Original Message -----
From: "virginia estellers" <[EMAIL PROTECTED]>
To: "TINYOS HELP" <[email protected]>
Sent: Thursday, March 29, 2007 12:39 PM
Subject: [Tinyos-help] tinyos: controlling the data send through the
serialwith VisualBasic
Hi,
I'd like to write some code in Visual Basic while getting the sensor
data throught the serial port. I'm already able to send bytes to the
serial, but I've no idea on how to build the packets so that the mote
with TOSBASE knows what does it mean, and what's more important for
me, how to unpack the data it sends me so that it makes sense. Are the
bytes we can read with java.tinyos.tools.Listen in the same format
that what is travelling through the serial? I've been reading the
Listen code, but i'm quite lost.
Could anyone help me? Any hints?
Any comments will be much appreciated.
Virginia
PS: I'm using tinyos 1.x on windows+cygwin
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help