the server application to communicate with xbee