Can I do an active scan using MicroPython on XBee3 Zigbee?


When trying to do an active scan using MicroPython interface to my XBee3 (Zigbee) unit it fails with an unknown error (ValueError). Same thing for the energy detect command. Is this not possible using MicroPython interface or am I missing something?


MicroPython doesn’t work with AT commands that don’t immediately return a result (like ATND and ATAS).

If you’d like an interface for Active Scan, please contact Digi International and make a feature request. They might be able to add it like the node discovery methods that provide a better interface to ATND results.