Hello, I hope that you can help me. I have 3 week traying to solve that issue.
I am working with RaspBerry PI 3. 2 XBEE PRO S2B, configured with XCTU 6.3.11, function set ZigBee Coordinator API and other ZigBee Router API, both with parameter AP= 1 and firmware 21A7.
But when I run the "SendDataSample.py" from xbee python library, have the follow errors. I don't understand, if the ZigBee mode is AP 1, who the python example does not recognize that?. obviously I have modified the python example with my port = "/dev/ttyS0" and other values.
line 56, in <module>
File "SendDataSample.py", line 35, in main
File "/usr/local/lib/python3.5/dist-packages/digi/xbee/devices.py", line 1287, in open
digi.xbee.exception.InvalidOperatingModeException: Unsupported operating mode: AT mode