Contains useful utility functions for interfacing with MicroStrain's Wireless packets
static void correctPacketType( |
| ) |
Some packets are not properly identified. This function looks for special cases of misidentified packets and corrects them.
packet | A reference to a WirelessPacket which contains all the wireless packet data and info |
static bool packetIntegrityCheck( |
| ) |
Verifies that the packet matches the packet type that it is currently set to
packet const WirelessPacket& | A reference to the WirelessPacket to check the integrity of |
true if the packet's bytes are what they should be for its current type, false otherwise