NodeDiscovery
NodeDiscovery

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).

nodeAddress
uint16 nodeAddress() const

Gets the node address of the discovered Node.

Returns

The node address of the discovered Node.

frequency
WirelessTypes::Frequency frequency() const

Gets the WirelessTypes::Frequency of the discovered Node.

Returns

The WirelessTypes::Frequency of the discovered Node.

panId
uint16 panId() const

Gets the PAN Id of the discovered Node.  Note: Returns 0 if not present in the packet.

Returns

The PAN Id of the discovered Node.

model
WirelessModels::NodeModel model() const

Gets the model of the discovered Node.

Returns

The WirelessModels::NodeModel of the discovered Node.

serialNumber
uint32 serialNumber() const

Gets the serial number of the discovered Node.  Note: Returns 0 if not present in the packet.

Returns

The serial number of the discovered Node.

firmwareVersion
Version firmwareVersion() const

Gets the firmware version of the discovered Node.  Note: Returns 0.0.0 if not present in the packet.

Returns

The firmware version of the discovered Node.

defaultMode
WirelessTypes::DefaultMode defaultMode()

Gets the WirelessTypes::DefaultMode of the discovered Node.  Note: Returns 999 if not present in the packet.

Returns

The WirelessTypes::DefaultMode of the discovered Node.

builtInTestResult
uint32 builtInTestResult()

Gets the result bitmask of the built in test.

Returns

A uint32 bitmask representing the result of the built in test.

baseRssi
int16 baseRssi() const

Gets the base station rssi of the discovered Node.

Returns

The base station rssi of the discovered Node.

timestamp
Timestamp timestamp() const

Gets the Timestamp of when the NodeDiscovery packet was received by MSCL.

Returns

The Timestamp of when the NodeDiscovery packet was received by MSCL.

NodeDiscoveries

typedef for a vector of NodeDiscovery objects