Skip to main content

HID_REPORT_SIZE

Constant HID_REPORT_SIZE 

Source
pub const HID_REPORT_SIZE: usize = 128;
Expand description

Fixed size of every HID report in either direction.

128 bytes is enough to carry a single ECDSA P-256 signature (64 bytes) or a single public key (64 bytes) in one report with room to spare for the 3-byte header and any prefix bytes (slot id, block index, etc). Larger transfers like the 128-byte config zone are split across multiple reports by the caller.