C library communication protocol for Cypress of XBEE