Sending zdo command, Management LQI (Neighbor Table) Request using xbee api

573 views
Skip to first unread message

Prasad Sampath

unread,
Feb 22, 2012, 12:28:51 AM2/22/12
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


Prasad Sampath

unread,
Apr 16, 2013, 3:19:40 AM4/16/13
to xbee...@googlegroups.com
Hi,

For me, when I changed my PAN ID, it worked! I did this a year back and I'm not in touch now.

pls refer to post at digi forum (http://forums.digi.com/support/forum/viewthread_thread,10258)

 but I was not able to use LQI for my purpose as LQI was not giving proper measurement at that time, so I used RSSI. pls refer: (http://forums.digi.com/support/forum/viewthread_thread,7710_offset,10) I dont know about current situation. may be, some expert will help. :)
Hop this helps
BR
prasad



On Fri, Apr 12, 2013 at 9:15 PM, Florian Butter <florian...@googlemail.com> wrote:
Did you found the answer?
--
You received this message because you are subscribed to the Google Groups "xbee-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xbee-api+u...@googlegroups.com.
To post to this group, send email to xbee...@googlegroups.com.
Visit this group at http://groups.google.com/group/xbee-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
J Prasad Sampath

Florian Butter

unread,
Apr 16, 2013, 5:31:18 AM4/16/13
to xbee...@googlegroups.com
Thank you very much! :)


2013/4/16 Prasad Sampath <jpksa...@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "xbee-api" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xbee-api/R237PleIOOs/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to xbee-api+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages