I have 4-floor building Automation project. so I am implementing this project using Xbee.
I going to make mesh network. so I search on internet about mesh network but I am confused about mesh network and its addressing? how Xbee find route after failing node? please help me. I understand star network.Mesh network still confuse. how to automating routing done in xbee mesh network?
Suppose that there are bunch of people milling about in a room. You want to get a message to Joe, but you can't seem him in the crowd. You ask the person next to you if he/she has seen/knows how to get a message to Joe. If the person says yes, you give them the message and ask that it be given to Joe. It doesn't matter if that person delivers it directly or hands it off to someone else who hands it to someone else - as long as Joe gets the message, it doesn't matter how many people it took to get the message to Joe.
You have an XBee that needs to get a message to another XBee. How the message gets there doesn't matter. How the response gets back doesn't matter. In a very simple case, with XBees named A, B, C, and D, A could send a message to C, via B, and get a response back from C via D.
The beauty of mesh networks is that they just work. You do not have to know how to use one. I don't really understand what your problem is.
Actually, the problem is I am confused in programming.
While configuring Zigbee we need to give PAN Address, source address, destination address
So In mesh network how do I assign the address to particular in programming.
So In mesh network how do I assign the address to particular in programming.
Enough vague hand-waving. You want to program something. That can't be an XBee, so it must be an Arduino with an XBee connected. Is that combination a coordinator? Or, is it an end device/router?
What address are you trying to assign? To what? You do NOT have the Arduino assign the XBee an address. You use X-CTU on the PC to do that. The Arduino may, or may not, need to know the address of the XBee connected to it.
Tell us EXACTLY what hardware you have, and what you are trying to do.