Dear Ti
I am using Ti's SOC cc2531 for my project with Z-Stack 2.5.0. OIn my n/w there is a coordinator and rest of the devices as Router. One of these router I have made as USB gateway through which I can access this network from a PC as shown in the diagram below.
I can easily send and receive data from USB to R4 without any issues, however through the same setup and code when I try sending data to R1 or R2, the data is not getting received by these routers.
From analysing the packet sniffer data, I could understand that the short address being generated at USB when I transfer the data between USB to R4 was correct however when the short address for R1 and R2 was being generated as 0xCD00.
I am using AP as below
Iu8char temp_extend[8];
1. passoc_device= AssocGetWithExt(temp_extend); And u16shrtAddr =assoc_device.shortAddr;
2. u8temp = AddrMgrNwkAddrLookup(temp_extend,&shrtAddr);
This below for sending data packet to neighbour router
zb_SendDataRequest(shrtAddr,2,packetlen,send_pckt, 0, AF_TX_OPTIONS_NONE, 0 );
Please clarify what needs to be done to correctly calculate the short address of devices which are not attached to the same parent device?