[Tinyos-help] Questions about using I2C on MicaZ / MTS300 (TinyOS 2)

Philip Levis pal at cs.stanford.edu
Thu Mar 1 00:02:59 PST 2007


On Jan 3, 2007, at 12:50 PM, Thomas Wagner wrote:

> Hi again,
>
> Would you mind if I ask you another question?
>
> We have to write our program (wich communicates with the Mote  
> Network) in VB.net, so we are about to code some kind of message  
> listener in .net. Now we're hanging in decoding / encoding our  
> messages. In particular, building the checksum (which we think are  
> the last 2 bytes before the "ending" (7E)). Could you give us a few  
> tips about the algorithm? Could you also give us a little insight  
> what Bytes 1 to 10 (0 = "beginning" (7E)) mean? (We think that  
> Bytes 3 and 4 are the destination address, Byte 7 the count of the  
> payload bytes + checksum and Byte 9 is eventually the AM Type, but  
> the other ones we don't know.)
>
> Many Thanks...

TEP 113 (Serial Communication) describes the packet format.

Phil



More information about the Tinyos-help mailing list