XBee works in API mode now.

Code commented out will configure XBee for API mode when it is in
transparent mode.