2009/3/16 Nouha Baccour <[email protected]>: > 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?
The entries from neighbor table are not sent along with the data packets. They are only sent with the routing beacons. This is why the link estimator only receives and processes the routing beacons. However, the link estimator uses the ack bit on the data packets received by the forwarding engine to update the information on the neighbor table. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
