Function continued_packet
Source 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
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
...
};