|
#define | HID_TRANS_HANDSHAKE (0) |
|
#define | HID_TRANS_CONTROL (1) |
|
#define | HID_TRANS_GET_REPORT (4) |
|
#define | HID_TRANS_SET_REPORT (5) |
|
#define | HID_TRANS_GET_PROTOCOL (6) |
|
#define | HID_TRANS_SET_PROTOCOL (7) |
|
#define | HID_TRANS_GET_IDLE (8) |
|
#define | HID_TRANS_SET_IDLE (9) |
|
#define | HID_TRANS_DATA (10) |
|
#define | HID_TRANS_DATAC (11) |
|
#define | HID_GET_TRANS_FROM_HDR(x) ((x >> 4) & 0x0f) |
|
#define | HID_GET_PARAM_FROM_HDR(x) (x & 0x0f) |
|
#define | HID_BUILD_HDR(t, p) (uint8_t)((t << 4) | (p & 0x0f)) |
|
#define | HID_HDR_LEN (1) |
|
#define | HID_PAR_HANDSHAKE_RSP_SUCCESS (0) |
|
#define | HID_PAR_HANDSHAKE_RSP_NOT_READY (1) |
|
#define | HID_PAR_HANDSHAKE_RSP_ERR_INVALID_REP_ID (2) |
|
#define | HID_PAR_HANDSHAKE_RSP_ERR_UNSUPPORTED_REQ (3) |
|
#define | HID_PAR_HANDSHAKE_RSP_ERR_INVALID_PARAM (4) |
|
#define | HID_PAR_HANDSHAKE_RSP_ERR_UNKNOWN (14) |
|
#define | HID_PAR_HANDSHAKE_RSP_ERR_FATAL (15) |
|
#define | HID_PAR_CONTROL_NOP (0) |
|
#define | HID_PAR_CONTROL_HARD_RESET (1) |
|
#define | HID_PAR_CONTROL_SOFT_RESET (2) |
|
#define | HID_PAR_CONTROL_SUSPEND (3) |
|
#define | HID_PAR_CONTROL_EXIT_SUSPEND (4) |
|
#define | HID_PAR_CONTROL_VIRTUAL_CABLE_UNPLUG (5) |
|
#define | HID_PAR_REP_TYPE_MASK (0x03) |
|
#define | HID_PAR_REP_TYPE_OTHER (0x00) |
|
#define | HID_PAR_REP_TYPE_INPUT (0x01) |
|
#define | HID_PAR_REP_TYPE_OUTPUT (0x02) |
|
#define | HID_PAR_REP_TYPE_FEATURE (0x03) |
|
#define | HID_PAR_GET_REP_BUFSIZE_FOLLOWS (0x08) |
|
#define | HID_PAR_PROTOCOL_MASK (0x01) |
|
#define | HID_PAR_PROTOCOL_REPORT (0x01) |
|
#define | HID_PAR_PROTOCOL_BOOT_MODE (0x00) |
|
#define | HID_PAR_REP_TYPE_MASK (0x03) |
|
#define | HID_SDP_DESCRIPTOR_REPORT (0x22) |
|
#define | HID_SDP_DESCRIPTOR_PHYSICAL (0x23) |
|
Human Interface Device Profile (HID) Device over BR/EDR.