Example of using the XBeeApi library to receive a message via a callback method

Dependencies:   XBeeApi mbed