Hi,
I am working on using LQI as routing parameter in aodv but i am stuck up and need help on how to read this 802_15_4 Phy value from AODV routing Layer. In ns2 , LQI value can be obtained in the function PD_DATA_indication of Phy802_15_4 as follow: void Phy802_15_4::PD_DATA_indication(UINT_8 psduLength,Packet *psdu,UINT_8 ppduLinkQuality) { //refer to sec 6.7.8 for LQI details hdr_lrwpan* wph = HDR_LRWPAN(psdu); wph->ppduLinkQuality = ppduLinkQuality; uptarget_->recv(psdu, (Handler*) 0); } But i need help in calling this function in AODV. Kindly help if anybody knows how to do it! Hasan Farooq -- View this message in context: http://old.nabble.com/Gettiing-LQI-Link-Quality-in-AODV-tp33763710p33763710.html Sent from the ns-users mailing list archive at Nabble.com.