I have an XBee3 ZigBee network here.
I'm using the Python built in library:
In the relative beginning of my program I of course establish connection with all the reouter devices in my network of many routers and a coordinator. I am wondering what the difference is between instantiating a remote xbee device object like so:
# Instantiate a remote XBee device object.
remote_device = RemoteXBeeDevice(device, XBee64BitAddress.from_hex_string("0013A20040XXXXXX"))
and discovering a remote xbee device via it's Node Identifier (NI) like so:
# Discover the remote device whose node ID is ‘SOME NODE ID’.
remote = xnet.discover_device("SOME NODE ID")
For the duration of my project I've been just discovering the remote devices in the network using the latter NI string identifier. However, now I have new design requirements and so I would like to discover the device by it's MAC address. So, fundamentally I would like a better understanding of the two above things: instantiating via MAC vs discovering via NI.
if I instantiate, does that inherently discover the device behind the scenes? or would I have to discover the device separately...?