473,545 Members | 2,051 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Xbee/ZigBee troubles

7,872 Recognized Expert Expert
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 4813
7,872 Recognized Expert Expert
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
5,000 Recognized Expert Expert
Sorry plater, never seen anything like that before :(
Oct 9 '07 #3

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

Similar topics

by: DDShami | last post by:
Hello everyone.... I wanna know weather we can use ZigBee for as wide area network? Do you know any type of algorithms based on ZigBee wide area networks....?
by: shobhon | last post by:
Can anyone please tell how to setup xbee series 2 . i have set up one xbee with co-ordinator and ther other one with end device. Now i have i have opened one of the ADC port setup sample rate.. but it is not tranmitting anything unlike series one when i open ADC and sample rate it starts trasmites data stright away.. (using xctu) i have also...
by: Chakshika | last post by:
Hello, We are doing a wireless sensor network project using Xbee modules as our University Final year project. We have bought some Xbee Series 2 modules and Two XBIB-U-DEV (and XBIB-R-DEV) development kits ( USB and RS 232) The was a small software came with them in a CD. Its called as X-CTU. It only has a range test. We couldn't programm motes...
by: mlkushan | last post by:
hi, I have imported Xbee modules (XB24-BWIT-004) and Xbee starter pro development kit. It has XBIB-U-DEV and XBIB-R-Dev development kits with 10 Xbee motes and two Xbee pro motes. So I have configured the codewarrior development environment in my PC (Windows XP) and also I have configured the TOSSIM environment with Cygwin (on the same...
by: evios | last post by:
hi... I am new to this forum and to Zigbee as well. I was thinking of implementing AMR using Zigbee. However, i am not very familiar with data hopping between the nodes. How is the data being accumulated throughout the nodes? If it operates this way, the packet length will increased as well. Can anyone guide me with this? Thanks
by: Pancakes | last post by:
Hello all, this is my first post in these forums, so bear with me if I've broken a few rules here or there. Anyhow, I would like to ask if anyone if familiar with the XBee Pro, here, and documentation is available here. The documents don't match the product exactly, the links from the product page ended up to the documents page I supplied. ...
by: boredo212 | last post by:
I have ordered the XBEE Starter kit and was able to use XCTU to get the two modules to communicate through the two dev boards (USB and RS-232). Now I would like to take it to the next step by writing a program that will send a string to the xbee module and have the xbee broadcast it. Eventually, this would have to connect to a mysql database. ...
by: KDaly | last post by:
Hey guys, I was kind of hoping that someone could help me out with a project I am working on for school... We are desigining a robot that someone will approach, and the robot will ask the user if they would like to go to room A, B, or C. (keep in mind all the rooms are in a striagh hallway with no turns). We have decided to put Xbee modules...
by: ritusingh2008 | last post by:
Hello, I have transmitted an APi frame fron one xbee radio to other.I am able to receive it in 2nd xbee radios.I can see it xbee terminal.If i want to find the RSSI value for it how can i calculate it. Can anyone please explain it detail? Thanks
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.