HID 报表描述符电话实例

REPORT_COUNT (1)                            95 01 
USAGE_PAGE (Telephony Devices)              05 0B
USAGE (Phone)                               09 01
COLLECTION (Application)                    A1 01 
  USAGE (Programmable Button)               09 07
  COLLECTION (Logical)                      A1 02 
    USAGE_PAGE (Button)                     05 09
    USAGE_MINIMUM (Button 1)                19 01
    USAGE_MAXIMUM (Button 6)                29 06
    REPORT_SIZE (3)                         75 03 
    LOGICAL_MINIMUM (1)                     15 01 
    LOGICAL_MAXIMUM (6)                     25 06 
    INPUT (Data,Ary,Abs)                    81 00 
  END_COLLECTION                            C0
  USAGE_PAGE (Telephony Devices)            05 0B
  USAGE (Telephony Key Pad)                 09 06
  COLLECTION (Logical)                      A1 02 
    USAGE_PAGE (Button)                     05 09
    USAGE_MINIMUM (Button 1)                19 01
    USAGE_MAXIMUM (Button 12)               29 0C
    LOGICAL_MAXIMUM (12)                    25 0C 
    REPORT_SIZE (4)                         75 04 
    INPUT (Data,Ary,Abs)                    81 00 
  END_COLLECTION                            C0
  USAGE_PAGE (Telephony Devices)            05 0B
  USAGE (Hook Switch)                       09 20
  USAGE (Alternate Function)                09 29
  USAGE (Conference)                        09 2C
  USAGE (Transfer)                          09 25
  USAGE (Drop)                              09 26
  USAGE (Hold)                              09 23
  USAGE (Speaker Phone)                     09 2B
  LOGICAL_MAXIMUM (7)                       25 07 
  REPORT_SIZE (3)                           75 03 
  INPUT (Data,Ary,Abs)                      81 00 
  USAGE_PAGE (Consumer Devices)             05 0C
  USAGE (Volume)                            09 E0
  LOGICAL_MINIMUM (-1)                      15 FF 
  LOGICAL_MAXIMUM (1)                       25 01 
  REPORT_SIZE (2)                           75 02 
  INPUT (Data,Var,Abs)                      81 02 
  REPORT_SIZE (4)                           75 04 
  INPUT (Cnst,Var,Abs)                      81 03 
  LOGICAL_MINIMUM (0)                       15 00 
  LOGICAL_MAXIMUM (1)                       25 01 
  USAGE_PAGE (LEDs)                         05 08
  USAGE (Usage Selected Indicator)          09 3A
  COLLECTION (Logical)                      A1 02 
    USAGE_PAGE (Telephony Devices)          05 0B
    USAGE (Programmable Button)             09 07
    COLLECTION (Logical)                    A1 02 
      USAGE_PAGE (Button)                   05 09
      USAGE_MINIMUM (Button 1)              19 01
      USAGE_MAXIMUM (Button 2)              29 02
      REPORT_COUNT (2)                      95 02 
      OUTPUT (Data,Var,Abs)                 91 02 
    END_COLLECTION                          C0
  END_COLLECTION                            C0
  USAGE_PAGE (LEDs)                         05 08
  USAGE (Usage In Use Indicator)            09 3B
  COLLECTION (Logical)                      A1 02 
    USAGE_PAGE (Telephony Devices)          05 0B
    USAGE (Programmable Button)             09 07
    COLLECTION (Logical)                    A1 02 
      USAGE_PAGE (Button)                   05 09
      USAGE_MINIMUM (Undefined)             19 01
      USAGE_MAXIMUM (Undefined)             29 06
      REPORT_COUNT (6)                      95 06 
      OUTPUT (Data,Var,Abs)                 91 02 
    END_COLLECTION                          C0
    USAGE_PAGE (Telephony Devices)          05 0B
    USAGE (Alternate Function)              09 29
    REPORT_COUNT (1)                        95 01 
    OUTPUT (Data,Var,Abs)                   91 02 
  END_COLLECTION                            C0
  USAGE_PAGE (LEDs)                         05 08
  USAGE (Usage Multi Mode Indicator)        09 3C
  COLLECTION (Logical)                      A1 02 
    USAGE_PAGE (Telephony Devices)          05 0B
    USAGE (Message)                         09 73
    COLLECTION (Logical)                    A1 02 
      USAGE_PAGE (LEDs)                     05 08
      USAGE (Indicator On)                  09 3D
      USAGE (Indicator Fast Blink)          09 40
      USAGE (Indicator Off)                 09 41
      REPORT_SIZE (2)                       75 02 
      OUTPUT (Data,Ary,Abs)                 91 00 
    END_COLLECTION                          C0
  END_COLLECTION                            C0
  REPORT_SIZE (5)                           75 05 
  INPUT (Cnst,Var,Abs)                      81 03 
END_COLLECTION                              C0
微信公众号
字节流公众号  字节流QQ群:952873936
取消
感谢您的支持,我会继续努力的!
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

Powered by bytekits.com,汇天下文字,成非凡梦想!!!