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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to