title: Using xbee ansic library for usb interface
body: <p>I have a raspberry pi board conencted to xbee device via usb adapter. ie: To access my xbee, it will be /dev/ttyUSB. I want to use xbee ansic library api's to send and receive commands from/to my xbee device.
  Have downloaded xbee ansic library code from <a href="https://github.com/digidotcom/xbee_ansic_library.git" rel="nofollow noreferrer">https://github.com/digidotcom/xbee_ansic_library.git</a></p>
  
  <ol>
  <li>How to build xbee ansic library and build some .so  (Makefiles are only for generating sample files executables)</li>
  <li>Can I use it for usb interface (all examples are for serial interface)</li>
  <li>How can I query temperature from xbee device</li>
  </ol>