Read through the doc/tutorial material and pay special attention
to stuff on messaging. There is a utility called "MIG" which creates
a Java class that knows how to parse a message payload struct.
Examples abound in the TOS1.x apps directory, e.g., SimpleCmd
and Oscilloscope.

MS

Patrick Brady wrote:
> hi all,
> 
> I'm pretty new to working with these sensors and I'm trying to write my 
> own application to display the data.
> Problem is that I don't know how the data is tranmitted to the serial 
> port. What I mean by this is, I don't know how big the bytes of data 
> being sent from the sensor, are but more importantly I don't know which 
> bytes represent which data. I've checked the data sheets and couldn't 
> find what I was looking for there.
> Does anyone know the answer to this or know where I could get this 
> infomation??
> 
> Thanks.
> 
> Oh ya I'm using the Crossbow mica2 (MTS400) boards.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

Reply via email to