Prasad Sampath
unread,Feb 22, 2012, 12:28:51 AM2/22/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xbee...@googlegroups.com
Hi all,
I tried to send zdo command, Management LQI (Neighbor Table) Request using xbee api . But it seems I have not done every thing inline. I dont receive any response from the end device.
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);
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
--
J Prasad Sampath