Post a new topicPost a reply Page 2 of 2   [ 15 posts ]
Go to page Previous  1, 2
Author Message
 Post subject: Re: gateway dropping packets
PostPosted: Wed May 09, 2012 5:57 pm 

Joined: Mon Aug 01, 2011 12:37 pm
Posts: 12
Location: Manchester, UK
libelium-dev wrote:
Hi Amit,
asingh66 wrote:
I am using X-CTU. Another thing, if I increase the delay in send_data() just after xbeeZB.ON() from 2000 to 20000, I receive all the packets.

Thanks
Amit
When you start using XBee-ZB there is an initial network setting that must be done. So, this is the reason you have to wait some time before using it.

Regards


Just to say that I had a similar issue. I am sending data from a Waspmote to an Arduino via ZigBee.

My original application was powering up the ZigBee from deep sleep, then immediately entering a loop to check if the ZigBee was associated with the network, then sending the data. Though the ZigBee always associated after about 15 seconds, and the data was sent with no transmission errors, not all frames were being received by the ZigBee on the Arduino.

After reading the above post, I changed the application to power up the ZigBee, then delay 25 seconds (during which time I do not interact with the ZigBee at all), then check for association (which only takes one check in the loop as by that time the ZigBee is associated, then send the data. So far it works, as every data frame is received OK.

Thanks for this hint about the delay as it's really helped.


Top
 Profile  
 
 Post subject: Re: gateway dropping packets
PostPosted: Thu May 10, 2012 10:34 am 

Joined: Wed May 02, 2012 1:01 am
Posts: 4
I'm having the same delay problem. I'm using ZigBee sleeping en devices and after wake up, if I don´t wait a few seconds (10s is working) the messages will not be sent to the coordinator. This is a big period consuming power and doing nothing, I would like to solve this issue. Any idea?



Thanks :)


Top
 Profile  
 
 Post subject: Re: gateway dropping packets
PostPosted: Thu May 10, 2012 12:29 pm 

Joined: Mon Aug 01, 2011 12:37 pm
Posts: 12
Location: Manchester, UK
Samy wrote:
I'm having the same delay problem. I'm using ZigBee sleeping en devices and after wake up, if I don´t wait a few seconds (10s is working) the messages will not be sent to the coordinator. This is a big period consuming power and doing nothing, I would like to solve this issue. Any idea?



Thanks :)


One thing I am doing with the "spare" time is using it as time to "warm up" sensors on the Waspmote gas sensor board. Doesn't really solve anything with the ZigBee delay, but I'm trying to think of ways to use that "spare" time to do something useful. :)


Top
 Profile  
 
 Post subject: Re: gateway dropping packets
PostPosted: Thu May 10, 2012 12:44 pm 

Joined: Wed May 02, 2012 1:01 am
Posts: 4
alanholding wrote:
One thing I am doing with the "spare" time is using it as time to "warm up" sensors on the Waspmote gas sensor board. Doesn't really solve anything with the ZigBee delay, but I'm trying to think of ways to use that "spare" time to do something useful. :)


Yes, but to "warm up" sensors you don't need to turn on the XBee module. You use the spare time but there's always waste of power... I really don't understand why is needed so much time before sending messages, simply doesn't make sense to me.


Top
 Profile  
 
 Post subject: Re: gateway dropping packets
PostPosted: Tue May 15, 2012 11:59 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7440
Samy and alanholding,

As far as we know, this necessary delay is required by the Zigbee protocol of Digi Xbee modules and is not required by Waspmote API.

We will do some research about trying to optimize it.

Thanks for sharing your comments.


Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 2 of 2   [ 15 posts ]
Go to page Previous  1, 2


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use