Hi,

I am studying CTP to simulate it in ns-2 for my PhD. I read the TEP123, 
"Collection Tree Protocol" and "Four-bit Wireless Link Estimation" papers. I 
understand that CTP has 3 engines forwarding, routing, and estimation. I am 
confused about the structure of the beacons. CTP and TEP123 say that the beacon 
has control bits, parent, and ETX fields. 4-bit paper says that the beacon 
contains the LQs of neighbours and seq. number. When I checked the code in 
TinyOS I found that the two approaches are implemented. 
'SendBeaconTask' in CtpRoutingEngine.nc sends a beacon with control bits, 
parent, and ETX value. While 'addLinkEstHeaderAndFooter' in LinkEstimatorP.nc 
sends a beacon with a seq. number and LQs of some neighbours. so far, I cannot 
link the two functions together. My questions are:
1) Are both functions called? If so, which one precedes the other? i.e. what is 
the packet flow in this case
2) What is the seq. number added in 'addLinkEstHeaderAndFooter'? Is it 
different from the one added to data packets?

Your help is really appreciated.

Regards
Islam Hegazy
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to