[Tinyos-help] Listen and ListenRaw

Sankar Gorthi sankar.b.gorthi at gmail.com
Tue Jul 4 20:42:22 PDT 2006


The packets without the 7E at the end might have had carriage returns or  
other line feed characters. This causes MATLAB to drop the line if you use  
fscanf(). fread() should fix that.

This link should help you decipher the packets:  
http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf

Sankar.

On Tue, 04 Jul 2006 22:34:02 -0500, Chang Li <changl at neatware.com> wrote:

> How to get Java Listen format message from the ListenRaw format? For  
> example
>
> 7e42 040108 01 ffffffff 047d 5d18 000100 87c17e -- ListenRaw 20 bytes
>      040108 01 ffffffff 047d   18 000100        -- Listen 14 bytes
>
> And there were some packets without the tail 7e in raw message,
> were they bad packets?



-- 
No opera plot can be sensible, for people do not sing when they are  
feeling sensible. - W. H. Auden


More information about the Tinyos-help mailing list