Recovers the XBee from an unknown state and leaves if configured for normal operations.
Parameters: target (String or
XBeeDevice) – Target of the recovery operation.
RecoveryException– If there is any error performing the recovery action.
Attempts to put this device in AT Command mode.
port – The serial port where the XBee is connected to.
- True if the XBee has entered in AT command mode, False
SerialTimeoutException– If there is any error trying to write to the serial port.
InvalidOperatingModeException– If the XBee is in API mode.