469,306 Members | 2,504 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

Xbee/ZigBee troubles

Plater
7,872 Expert 4TB
Here at work we've been using MaxStream's Xbee product (ZigBee implementation). Now I have to re-work the code (our head software guy banded it out in like a day as a time crunch so it's seriously lacking).
The problem is, I have not been able to understand the conversation flow for the XBEE API and was wondering if anyone was familiar with it?

My scenario is this:
I have multiple probes with the XBEE products, each with their 16bit MY address set to a known unique number.
I have one "host" device that needs to send an ascii string (they talk on UARTs) to a probe and get an ascii string back.

The problem is with the overhead, there's some sort of double messaging going on. If I tell the XBEE "send 40128 the message 'Get Val\n' ".
It does some sort of "let me see if 40128 exists and can respond" and then it sends message and that whole area is a mess.
Jun 15 '07 #1
2 4644
Plater
7,872 Expert 4TB
For what it's worth, using the XBEE API calls on the UART talking to the XBEE goes something like this:

microcontroller sends API_TX message on UART to XBEE
XBEE replies back with an API_TX_STAT message on the UART to microcontroler.
(This message lets you know if it found who you were sending it to or not)

The XBEE that receives that message sends an API_RX message down it's UART along with the data that was sent from the originator XBEE.
Oct 9 '07 #2
RedSon
5,000 Expert 4TB
Sorry plater, never seen anything like that before :(
Oct 9 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by DDShami | last post: by
reply views Thread by shobhon | last post: by
reply views Thread by evios | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.