Transition to C++ xbee API.