Different message payloads can be of different lengths, up to the maximum.
The Receive layer doesn't know what sort of message it is dealing with,
so it does some integrity checks based on header information and uses
the length to figure out where the CRC is.
MS


Peng wrote:
> Hi, there,
> 
> I noticed that in all the application which implements the Receive 
> interface. It always compare the packet length, I just wonder why the 
> packet with different length can be received and pass the CRC. If there 
> is no other mote sending packets, can we still get packet with different 
> length?
> 
> cheers
> Peng
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to