# xbee s2 two way api communication

**URL:** <https://forums.digi.com/t/xbee-s2-two-way-api-communication/14906>\
**Category:** XBee & XBee Gateway\
**Tags:** s2, xbee\
**Created:** [June 1, 2015, 9:55am UTC](https://forums.digi.com/t/xbee-s2-two-way-api-communication/14906 "2015-06-01T09:55:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ca\_anuje](https://avatars.discourse-cdn.com/v4/letter/c/858c86/32.png) [@ca\_anuje](https://forums.digi.com/u/ca_anuje)\
**Post date:** [June 1, 2015, 9:55am UTC](https://forums.digi.com/t/xbee-s2-two-way-api-communication/14906/1 "2015-06-01T09:55:43Z")

</div>

I have total 4 nodes (1 coordinator, 3 end devices). Each node has an arduino uno and xbee. I have already configured all the xbee’s in API mode.  
The two way communication from coordinator to a single end device is working fine. But, when I add the other nodes in the network, the communication is messed up. I am not sure what the problem could be.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [June 2, 2015, 4:14pm UTC](https://forums.digi.com/t/xbee-s2-two-way-api-communication/14906/2 "2015-06-02T16:14:44Z")

</div>

What do you mean by “Messed up?” Can you be more specific?

---

<div class="post-metadata">

**Author:** ![Farhanahmad4473](https://avatars.discourse-cdn.com/v4/letter/f/4da419/32.png) [@Farhanahmad4473](https://forums.digi.com/u/Farhanahmad4473)\
**Post date:** [October 17, 2015, 7:38pm UTC](https://forums.digi.com/t/xbee-s2-two-way-api-communication/14906/3 "2015-10-17T19:38:06Z")

</div>

Can you tell me how you did two way communication between 2 Xbees in API mode?
