How to get packet route information znet 2.5

Hi All,
I need to know whether it is possible to extract lower layer routing information from a received packet(or using any AT command) in “Xbee pro S2” Modules.

Actually I need to know the last hop where packet was routed when a packet is received.

I will explain my application for more clarification…-------------------
There are 6 xbee PRO S2 modules in a mesh connected with a micro-controller (atmega64) an it is required to continuously monitor and log channel attenuation using RSSI value between each link.

Motivation is to configure five modules to ROUTER API and one to COORDINATOR API. And if last hop can be known then RSSI(Measured from AT command in API mode) can be measured in each link by periodically generating broadcast packets.

At this stage the test is done with 5 END devices and a COORDINATOR. But there, we can have RSSI values only 5 links.But all possible links in the mesh need to be monitored.

Can somebody please tell me whether it is possible to extract the last hop of a receved packet in any means.

How about setting JN, Join Notification, in X-CTU parameters. It will let every node sends the Node Identification Indicator to the coordinator at the time it joins the network. That informs joining address and last hop address. But you have to check and see how it goes everytime the node chages the route. I am just trying that now:)

Check “Join Notification” and “Node Identification Indicator” in the manual



Since the command of the request of routing table is in zdo command, it may be investigated using this command.

However, since routing table has a possibility of changing dynamically, it may have changed immediately after possibly investigating.

Or if neighbor table is requested by the zdo command, how is it?

Hi chobichan,
Thanks for the post. I tried to send zdo command, Management LQI (Neighbor Table) Request. But it seems I have not done every thing inline.
This is my setup--------------
ZIGBEE END DEVICE API - Configured with X-CTU - firmware 29A0 - AO =1, PAN ID = ff, all other parameters set defaults.

ZIGBEE Coordinator API - Configured with X-CTU - firmware 21A0 - AO =1, PAN ID = ff, all other parameters set defaults.
connected to PC using explorer board.
Interface using java (xbee-api)

XBeeAddress64 addr64 = new XBeeAddress64(0x00,0x13,0xa2,0x00,0x40,0x76,0xd3,0x62);
        //0000FFFF also tried

            int[] payload = new int[]{0, 0, 0};
            int sourceEndpoint = 0;
            DoubleByte clusterId = new DoubleByte(0x0, 0x31);
            ZNetExplicitTxRequest request = new ZNetExplicitTxRequest(0x00, addr64, XBeeAddress16.ZNET_BROADCAST, 0x00, ZNetTxRequest.Option.UNICAST, payload, sourceEndpoint, 0, clusterId, ZNetExplicitTxRequest.znetProfileId);

Please advise me where did I do wrong.
Does it required to set any other parameters in XCTU or in java code.
I also tried to mannually send API packet using

int zdoPacket[] = {126, 0, 22, 17, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 254, 0, 0, 0, 49, 0, 0, 0, 0, 118, 0, 78};

But No luck ! :frowning: