Expand description
HID device abstraction.
Wraps hidapi to find the mini-HSM dongle by VID/PID and exchange
single 128-byte HID reports. The protocol is request/response.
The host sends one report and reads exactly one back.
Functionsยง
- describe_
atecc_ ๐kind - Symbolic name for a non-chip driver error decoded from
ResponseStatus::AteccCommunicationErrorpayload. - describe_
chip_ ๐error - Symbolic name for a chip-side error decoded from
ResponseStatus::AteccChipErrorpayload. - describe_
status ๐ - enumerate ๐
- Print one line per HID device on the bus, marking matches.
- open ๐
- Open the first HID device matching the mini-HSM VID/PID.
- send_
command ๐ - Send a command and return the response payload (without the 3-byte frame header).