XBee loop test added.