I have tried to keep flexibility to a maximum. By allowing connections to individual nodes to be created you don't have to address each packet, or filter through incomming packets to get at the one you are after. This is all taken care of for you by libxbee!
libxbee is still in development, so if you find any bugs or have any enhancement requests, please feel free to submit an issue on the project page:
http://code.google.com/p/libxbee/or contact me (Attie) directly:
attie@attie.co.uk
xbee_pkt(3) - libxbee's packet structure xbee_con(3) - libxbee's connection structure
xbee_setup(3) - function to setup libxbee (and its variants) xbee_end(3) - function to end the libxbee session and close any open handles
xbee_logit(3) - function that allows the user to add to the xbee log output
xbee_newcon(3) - function to create a new connection xbee_flushcon(3) - function to flush packets from a connection xbee_endcon(3) - function to end a connection
xbee_senddata(3) - function to send data to a remote XBee (and its variants) xbee_getpacket(3) - function to get a packet from a connection (and its variants)
xbee_hasdigital(3) - function to check if digital sample is in the packet xbee_getdigital(3) - function to get digital sample from the packet
xbee_hasanalog(3) - function to check if analog sample is in the packet xbee_getanalog(3) - function to get the analog sample from the packet