Posix (ie Linux / BSD / MAC compatible) library for communicating with XBees in API mode, with support for both Series 1 (802.15.4) and Series 2 (ZB Pro/ZNet). This library Includes support for the majority of packet types, including: TX/RX, AT Command, Remote AT, I/O Samples and Modem Status. This is an adaption of xbee-arduino, which can be found here https://github.com/andrewrapp/xbee-arduino. See https://code.google.com/p/xbee-arduino/ for the original documentation.
Note: The examples have not been updated, and probably don't compile...