writing xbee transmission test program