A WirelessDataPacket derived class representing a HclSmartBearing Raw data packet.
explicit HclSmartBearing_RawPacket( |
| ) |
Creates a HclSmartBearing_RawPacket from the passed in WirelessPacket.
packet const WirelessPacket& | A WirelessPacket determined to be a HclSmartBearing_RawPacket. |
The conversion value for magnetometer data from the raw base board packet.
Parses the packet for all the sweep information and adds a sweep to the sweeps container
Error_UnknownSampleRate: failed to find the sample rate in the list
Parses the packet for Raw Base Board data.
Parses the packet for Raw Strain Board data.
Parses the packet for Raw Inertial Board data.
anyType getMagChValue( |
| ) |
Gets the magnetometer data for a channel from the raw base board packet, taking into account the mag conversion val.
packetVal int16 | The raw channel value received from the packet. |
An anyType containing the value to store with the data.
static bool integrityCheck_baseBoard( |
| ) |
Verifies that the packet is a well formed HclSmartBearing_RawPacket Base Board packet.
packet | The fully formed Wireless Packet to check the integrity of. |
true if the packet is a well formed HclSmartBearing_RawPacket Base Board packet, false otherwise.
static bool integrityCheck_strainBoard( |
| ) |
Verifies that the packet is a well formed HclSmartBearing_RawPacket Strain Board packet.
packet | The fully formed Wireless Packet to check the integrity of. |
true if the packet is a well formed HclSmartBearing_RawPacket Strain Board packet, false otherwise.
static bool integrityCheck_inertialBoard( |
| ) |
Verifies that the packet is a well formed HclSmartBearing_RawPacket Inertial Board packet.
packet | The fully formed Wireless Packet to check the integrity of. |
true if the packet is a well formed HclSmartBearing_RawPacket Inertial Board packet, false otherwise.
static bool integrityCheck( |
| ) |
Verifies that the packet is a well formed HclSmartBearing_RawPacket packet.
packet const WirelessPacket& | The fully formed Wireless Packet to check the integrity of. |
true if the packet is a well formed HclSmartBearing_RawPacket packet, false otherwise.
static UniqueWirelessPacketId getUniqueId( |
| ) |
Gets the unique Id of the WirelessPacket passed in
packet const WirelessPacket& | The WirelessPacket to get the unique id of |
The UniqueWirelessPacketId of the passed in packet