pub fn continued_packet(packet_data: &[u8]) -> Result<bool, HidIoParseError>
Expand description

Determines whether there are following continued packets

Arguments

  • packet_data - Vector of bytes

Remarks

Uses a packet byte stream to determine cont field.

struct HidIo_Packet {
   ... (3 bits)
   uint8_t           cont:1;      // 0 - Only packet, 1 continued packet following
   ...
};