Working on xbee server side