Trying to swap out an ancient S2B Pro xBee with a new S2C Pro. Configured the new unit using XCTU to carefully match PAN, baud, etc. New unit plays nicely in the network when mounted on the XCTU development board. When deployed onto its home (where the S2B has sat comfortably) on a RaspberryPi3b running Python 3.5.3 with the digi.xbee library, the call to open the device throws invalidOperatingModeException:_Could_Not_Determine_Operating_Mode.
Why? What to do?
Old Device: XBP24BZ7PIT-004-revF
New Device: XBP24CZ7PIT-004-revF
from digi.xbee.devices import XBeeDevice
Generates this response:
/dev/ttyAMAo port opened
/dev/ttyAMA0 port closed
Traceback (most reent call last):
File “/home/pi/.local/lib/python3.5/site-packages/digi/xbee/devices.py”, line 1259, in open
raise InvalidOperatingModeException(“Could not determine operating mode”)
digi.xbee.exception.invalidOperatingModeException: Could not determine opearting mode