Add code to parse xbee commands.
Repurpose X and x to send XBee commands.