# Xbee programming

**URL:** <https://forums.digi.com/t/xbee-programming/851>\
**Category:** XBee - Zigbee\
**Created:** [March 5, 2012, 12:15pm UTC](https://forums.digi.com/t/xbee-programming/851 "2012-03-05T12:15:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![diannejose](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@diannejose](https://forums.digi.com/u/diannejose)\
**Post date:** [March 5, 2012, 12:15pm UTC](https://forums.digi.com/t/xbee-programming/851/1 "2012-03-05T12:15:56Z")

</div>

Hai,

I have purchased a pair of xbee module, whose range is around 30 metres.  
Its modem number is not known to me,  
but beneath it shows XB24-AVVi 001 revC.  
i checked the module via the PC COM port. I checked the device using XCTU software.  
with Enable API unchecked , the modem shows communicating problem.  
with Enable API checked , modem communication shows OK  
the modem type and version is not obtained.

please tell me how to correct this.

---

<div class="post-metadata">

**Author:** ![kavya](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kavya](https://forums.digi.com/u/kavya)\
**Post date:** [March 6, 2012, 7:30am UTC](https://forums.digi.com/t/xbee-programming/851/2 "2012-03-06T07:30:07Z")

</div>

Hi,

XB24-AWI 001 - is 802.15.4 module.

Check COM port and Baud Rate settings, try with the baud rates - 9600, 115200.

Regards!

---

<div class="post-metadata">

**Author:** ![Shbemetrics](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Shbemetrics](https://forums.digi.com/u/Shbemetrics)\
**Post date:** [March 7, 2012, 4:25pm UTC](https://forums.digi.com/t/xbee-programming/851/3 "2012-03-07T16:25:55Z")

</div>

hi  
do you work with api mode 2(escaped character) or 1?  
Close Xctu and restart your PC.  
regards,

---

<div class="post-metadata">

**Author:** ![faludi](https://avatars.discourse-cdn.com/v4/letter/f/f14d63/32.png) [@faludi](https://forums.digi.com/u/faludi)\
**Post date:** [March 14, 2012, 4:23pm UTC](https://forums.digi.com/t/xbee-programming/851/4 "2012-03-14T16:23:56Z")

</div>

The helpful folks at DIY Drones folks have this concise post about recovering a non-responding XBee:  
[http://diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A88961&amp;commentId=705844%3AComment%3A89003](http://diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A88961&amp;commentId=705844%3AComment%3A89003)
