[Tinyos-help] LinkEstimatorP and beacon driven link estimation

Nouha Baccour nouha.baccour at gmail.com
Mon Mar 16 15:02:19 PDT 2009


Hi all,

I am studying four-bit link estimator.
My question is related to the component LinkEstimatorP.nc.

As this component uses interface Receive (SubReceive as an alias), it
implements the command SubReceive.Receive.
In this implementation, there is a call of the method
processReceivedMessage().
After passing some tests, processReceivedMessage()  enables to update link
quality based on the received packet, using the method
updateNeighborEntryIdx().


What I understand is that the received packet is a Beacon packet and not a
data packet, because in updateNeighborEntryIdx(),  link quality assessment
(i.e. updateNeighborTableEst()) is performed each BLQ_PKT_WINDOW (to refer
Beacon-driven Link Quality) received packets.




First of all, is my understanding is right?
if so, How SubReceive.Receive enables to report only beacon packets?
Why not using ctpFarwardingEngineP, to get information on received beacons,
instead of using the interface Receive?

I would appreciate any help

Nouha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090316/0ee44043/attachment.htm 


More information about the Tinyos-help mailing list