Hi All,
I want to send zdo command, Management LQI (Neighbor Table) Request to remote routers.
But it seems I have not done every thing inline. I don’t receive any response back.
This is my setup--------------
END DEVICE------
ZIGBEE END DEVICE API - Configured with X-CTU - firmware 29A0 - AO =1, PAN ID = ff, all other parameters set defaults.
COORDINATOR
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);
xbee.sendAsynchronous(zz);
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};
xbee.sendPacket(zdoPacket);
But No luck !
Thanks in advance