Function hid_io_protocol::continued_packet[][src]

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

Determines whether there are following continued packets

Arguments

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
   ...
};