Represents 1 node discovery, which is created when a Wireless Node Discovery packet is sent from a Node. Note: There are multiple versions of Node Discovery packets which have been developed over time. Each version has added more useful information. If an earlier version of the Node Discovery packet is heard, this NodeDiscovery object will have some information be invalid (set to default values).
explicit NodeDiscovery( |
| ) |
Creates a NodeDiscovery object from a WirelessPacket
packet const WirelessPacket& | The WirelessPacket to create the NodeDiscovery object from |
The node address of the node that sent the Node Discovery packet.
The radio channel (WirelessTypes::Frequency) that the node was on that sent the Node Discovery packet.
The PAN id of the Node that send the Node Discovery packet.
The model of the node that sent the Node Discovery packet.
The serial number of the node that sent the Node Discovery packet.
The firmware version of the node that sent the Node Discovery packet.
The WirelessTypes::DefaultMode of the node that sent the Node Discovery packet.
The Built In Test result that was sent in the packet.
The Base Station RSSI that identifies the received signal strength at the Base Station.
The Timestamp of when the NodeDiscovery packet was received by MSCL.
void initFromPacket_v1( |
| ) |
Initializes the NodeDiscovery object from a version 1 Node Discovery packet.
packet const WirelessPacket& | The WirelessPacket which is a version 1 Node Discovery packet. |
void initFromPacket_v2( |
| ) |
Initializes the NodeDiscovery object from a version 2 Node Discovery packet.
packet const WirelessPacket& | The WirelessPacket which is a version 2 Node Discovery packet. |
void initFromPacket_v3( |
| ) |
Initializes the NodeDiscovery object from a version 3 Node Discovery packet.
packet const WirelessPacket& | The WirelessPacket which is a version 3 Node Discovery packet. |
void initFromPacket_v4( |
| ) |
Initializes the NodeDiscovery object from a version 4 Node Discovery packet.
packet const WirelessPacket& | The WirelessPacket which is a version 4 Node Discovery packet. |
Gets the node address of the discovered Node.
The node address of the discovered Node.
Gets the WirelessTypes::Frequency of the discovered Node.
The WirelessTypes::Frequency of the discovered Node.
Gets the PAN Id of the discovered Node. Note: Returns 0 if not present in the packet.
The PAN Id of the discovered Node.
Gets the serial number of the discovered Node. Note: Returns 0 if not present in the packet.
The serial number of the discovered Node.
Gets the firmware version of the discovered Node. Note: Returns 0.0.0 if not present in the packet.
The firmware version of the discovered Node.
Gets the WirelessTypes::DefaultMode of the discovered Node. Note: Returns 999 if not present in the packet.
The WirelessTypes::DefaultMode of the discovered Node.
Gets the result bitmask of the built in test.
A uint32 bitmask representing the result of the built in test.
Gets the base station rssi of the discovered Node.
The base station rssi of the discovered Node.
typedef for a vector of NodeDiscovery objects