ShmPacket
public
WirelessDataPacket
ShmPacket

A WirelessDataPacket derived class representing a Structural Health Monitoring Packet

Functions
ShmPacket
explicit ShmPacket(
const WirelessPacket &packet
)

Creates an ShmPacket from the passed in WirelessPacket.

Parameters
packet

A WirelessPacket determined to be a SyncSamplingPacket.

Variables
m_binCount
size_t m_binCount

The number of bins in the packet.

Functions
parseSweeps
void parseSweeps()

Parses the passed in WirelessPacket for all the sweep information and adds a sweep to the sweeps container.

parseSweeps_v1
void parseSweeps_v1()

Parses the packet for version 1 of the SHM-Link packet.

parseSweeps_v2
void parseSweeps_v2()

Parses the packet for version 2 of the SHM-Link packet.

integrityCheck
static bool integrityCheck(
const WirelessPacket &packet
)

Verifies that the packet is a well formed Shm-Link packet.

Parameters
packet

The fully formed Wireless Packet to check the integrity of.

Returns

true if the packet is a well formed SHM packet, false otherwise.