X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fserial_hid.h;h=a4ff28b8fffb20d969d1fe8f959a68929133cadb;hb=46a36bf0bb2e46f6aee28f629e950fb923c2884f;hp=d147978667b307c11438ccbbef625629ae38cc68;hpb=edec0436db2a73b545f5d4db0c1635d6c67ff45c;p=libsigrok.git diff --git a/src/serial_hid.h b/src/serial_hid.h index d1479786..a4ff28b8 100644 --- a/src/serial_hid.h +++ b/src/serial_hid.h @@ -17,21 +17,24 @@ * along with this program. If not, see . */ -#ifndef SERIAL_HID_H -#define SERIAL_HID_H +#ifndef LIBSIGROK_SERIAL_HID_H +#define LIBSIGROK_SERIAL_HID_H /* The prefix for port names which are HID based. */ #define SER_HID_CONN_PREFIX "hid" #define SER_HID_USB_PREFIX "usb=" #define SER_HID_RAW_PREFIX "raw=" +#define SER_HID_IOKIT_PREFIX "iokit=" #define SER_HID_SNR_PREFIX "sn=" /* * The maximum number of bytes any supported HID chip can communicate * within a single request. * - * CP2110: up to 63bytes - * CH9325: up to 7 bytes + * Brymen BU-86X: up to 8 bytes + * SiLabs CP2110: up to 63 bytes + * Victor DMM: up to 14 bytes + * WCH CH9325: up to 7 bytes */ #define SER_HID_CHUNK_SIZE 64