NodeDiscoveryPacket
public
WirelessPacket
NodeDiscoveryPacket

A class representing a MicroStrain "node discovery" packet

Constants
Node Discovery Packet Information
PAYLOAD_OFFSET_RADIO_CHANNEL

0  - The offset into the payload to get the radio channel

PAYLOAD_OFFSET_MODEL_NUMBER

1  - The offset into the payload to get the model number (2 bytes)

stopFlags_nodeDiscovery

The delivery stop flags that are expected in the node discovery command

Functions
integrityCheck
static bool integrityCheck(
const WirelessPacket &packet
)

Verifies that the packet is a well formed Node Discovery packet

Parameters
packet

The fully formed Wireless Packet to check the integrity of

Returns

true is the packet is a well-formed Node Discovery Packet, false otherwise