begain implementing the relay. writing parser for xbee API mode protocol