rssi: RSSI of the node discovery request packet received by the sending node.device_type: the device's 32-bit DD value (also referred to as Digi Device Type).node_type: Value of 0, 1 or 2 for coordinator, router or end device.node_id: the device's NI value (a string of up to 20 characters, also referred to as Node Identification).parent_nwk: set to 0xFFFE on the coordinator and routers, otherwise the network address of the end device's parent.sender_eui64: 8-byte bytes object with EUI-64 address.See the xbee.discover() examples for more information.ĭiscovered node dictionaries can contain the following fields: Note xbee.discover() returns immediately, but querying the resulting iterator will block execution until a response is available or the discovery times out (as determined by N?). This function accepts no parameters, and returns an iterator yielding a dictionary for each discovered node. The timeout for the discovery is determined by the N? command. Use this function to perform a network discovery, which is equivalent to issuing the ND command.
0 Comments
Leave a Reply. |