SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By rich101
#186000
I have 2 xbee Series 2 Pro boards. One is an End Device and the other is a Coordinator with the destination address set to the End Device.

I am using AT mode.

If I write a program to send 6 byte messages from the End Device to the Coordinator, as fast a possible (no delays) @ 9600 baud, I get lost data.

I added the code to check the status of CTS and as expected CTS was going high to flow control the data.

So I added a check for this in my test program.

It now stops sending whenever CTS goes high and starts up again immediately when it goes low.

However I am still losing data.

Is there a reason for this?

The data loss is always a few bytes after transmission has been restarted when CTS goes low.

Does CTS going low really happen when the buffer has room for more data? The manual says it should have 34 bytes free space when CTS goes low and 17 bytes free when it goes high.

Anyone managed to get data across xbee without data losses?
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]