Other Parts Discussed in Thread: Z-STACK
I want to send Lqi Req to Router. After the post http://e2e.ti.com/support/wireless_connectivity/f/158/t/341305.aspx?pi267162=1, i got some idea, but is not clear to me.
I am having a problem by sending request to router. Router is responding to Coordinator as i am getting in Mgmt_Lqi_rsp of Coordintor. But i am not getting EndDevice Entry which is connected to router(Coord->Router->ED). That is not getting correct network address of ED and its Lqi Value. Did i done any mistake.
case Mgmt_Lqi_rsp:
{
ZDO_MgmtLqiRsp_t *LqRsp;
uint8 num;
uint8 i;
int8 EndDevice_Lqi;
LqRsp = osal_mem_alloc(sizeof(ZDO_MgmtLqiRsp_t ));
LqRsp = ZDO_ParseMgmtLqiRsp(inMsg);
num = LqRsp->startIndex;
for(i= 0; i < num; i++)
{
EndDevice_Lqi = LqRsp->list[i].rxLqi;
Maintain log(EndDevice_Lqi);
}
osal_mem_free(LqRsp);
}
I am using Sample Switch as Router and enabled LQI Response Flag. Is any thing i need to be done in router code to get Lqi of End Device when i request to router. Why my router is responding with junk values.
