A WirelessDataPacket derived class representing an Asynchronouse Digital packet
explicit AsyncDigitalAnalogPacket( |
| ) |
Creates a AsyncDigitalAnalogPacket from the passed in WirelessPacket
packet const WirelessPacket& | A WirelessPacket determined to be a AsyncDigitalAnalogPacket |
Parses the passed in WirelessPacket for all the sweep information and adds a sweep to the sweeps container
Error_UnknownSampleRate: failed to find the sample rate in the list
WirelessChannel::ChannelId wirelessChannelFromDigitalChNum( |
| ) |
Converts a digital channel number to a WirelessChannel::ChannelId
channelNum int | The digital channel number to convert (digital channel 1 = 1, digital channel 16 = 16) |
The WirelessChannel::ChannelId representing the passed in digital channel number
WirelessDataPoint createAnalogDataPoint( |
| ) |
Creates a WirelessDataPoint for Analog data from the current payload given a data type and channel index
channelNumber uint8 | The channel number associated with the data point (ch1 = 1, ch8 = 8). |
bytePos uint32 | The position into the payload data that we are reading from. |
A WirelessDataPoint built from the channel information provided
static bool integrityCheck( |
| ) |
Verifies that the packet is a well formed Async Digital and Analog packet
packet const WirelessPacket& | The fully formed Wireless Packet to check the integrity of |
true if the packet is a well formed Sync Sampling 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