I am currently writing a program to interact with my XBee3. I am following the XBee Python library documentation and have a good application up and running so far. I have however come across one problem. I get the following error:
NameError: name 'DiscoveryOptions' is not defined
I can scan the network successfully without this line but for some reason I can't add the discovery option information. Any ideas?
Here is my code block:
xnet = d.get_network()
# Get a list of the devices added to the network.
device_list = xnet.get_devices()