Implemented functions to send and receive XBee frames.

Has not been tested.