Ruby::XBee open source Ruby classes for XBee

Some here might find this useful, so I wanted to let you know about it…

I wrote a Ruby class and some utilities to interact with XBee Series 1 modules. You can [read about it and download it from here.

[Ruby::XBee RDoc API documentation is available to learn more about it.

Currently, it’s for Linux/Intel and Mac OS X hosts. Would be great if a Windows Ruby guy would like to help get a Windows port running. Contact me if you’d like to help with it.

The code currently uses the transparent AT command set and encapsulates quite a few of the features of XBee Series 1. As time goes on, I’d like to keep updating it to support the API mode of XBee and support other firmware types (Zigbee, DigiNet, etc.) Contributions for support for other modes and platforms are welcome. Again, contact me if you’d like to get involved.

I like using it because a) Mac and Linux are my native platforms for embedded development and I didn’t want to always pop to Windows for X-CTU configuration and b) I like being able to script interactions with XBee for efficiency and consistency.

There’s a lot more that can be done with this. It’s just a start, but can be useful as-is.

Thanks](http://sawdust.see-do.org/ruby-xbee/webdocs/ruby-xbee-1.0/doc/)](http://sawdust.see-do.org/files/ruby-xbee-news.html)

Let me start with a thanks, I really like seeing linux support for hardware.

I’m using this with a Series 2 XBee actually, and have had pretty good luck with the example given at http://www.digi.com/support/kbase/kbase … sp?id=3086. However, I’m having a heck of a time changing the channel of my Series 2 plugged in to the usb via an Explorer. Any thoughts?

Cheers, Kyle