终端设备连接teams的HID命令没有正确返回,应该怎么查找?

匿名
2024-08-09T02:15:13+00:00

您好:

我们正在研发个会议摄像头,用来连接teams远程会议。设计的按键(音量+-、宅挂机)

我抓取了一款连接teams的耳机的hid来学习,进行接通挂断teams会议的调试。

我移植了相同hid,在设置音量静音等都可以,也就是report3中设置都可以,但是teams一直接听不了。

Teams接听:

Teams来电的时候

1 set_report  04 04  //ring

2 device 反馈  02 03 ; 02 00 ;  // 02 03  (Redial) (Hook Switch)

   可以接听的设备会以此set_report 04 05 ; 04 01 ;

但是我们设备就收不到 set_report 04 05 ; 04 01 ;  会收到04 00 也就是状态不对。

其中具体代表什么?为什么这样,没有找到原因。

这是我们usb tree抓到的东西。

Item Tag (Value) Raw Data
Usage Page (Vendor-Defined 2) 06 01 FF
Usage (Vendor-Defined 1) 09 01
Collection (Application) A1 01
Collection (Logical) A1 02
Logical Minimum (-128) 15 80
Logical Maximum (127) 25 7F
Report Size (8) 75 08
Report ID (16) 85 10
Report Count (15) 95 0F
Usage (Vendor-Defined 68) 09 44
Input (Data,Var,Abs,NWrp,Lin,NPrf,NNul,Bit) 81 22
Report ID (17) 85 11
Report Count (63) 95 3F
Usage (Vendor-Defined 69) 09 45
Input (Data,Var,Abs,NWrp,Lin,NPrf,NNul,Bit) 81 22
Report ID (80) 85 50
Report Count (15) 95 0F
Usage (Vendor-Defined 84) 09 54
Output (Data,Var,Abs,NWrp,Lin,NPrf,NNul,NVol,Bit) 91 22
Report ID (81) 85 51
Report Count (63) 95 3F
Usage (Vendor-Defined 85) 09 55
Output (Data,Var,Abs,NWrp,Lin,NPrf,NNul,NVol,Bit) 91 22
End Collection C0
End Collection C0
Usage Page (Telephony Devices) 05 0B
Usage (Headset) 09 05
Collection (Application) A1 01
Logical Minimum (0) 15 00
Logical Maximum (1) 25 01
Report Size (1) 75 01
Report ID (2) 85 02
Report Count (3) 95 03
Usage (Redial) 09 24
Usage (Hook Switch) 09 20
Usage (Phone Mute) 09 2F
Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 81 06
Report Count (1) 95 01
Usage (Programmable Button) 09 07
Usage Page (Button) 05 09
Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 02
Report Count (4) 95 04
Input (Cnst,Ary,Abs) 81 01
Report ID (4) 85 04
Report Count (3) 95 03
Usage Page (LEDs) 05 08
Usage (Off-Hook) 09 17 这里我们希望返回是ON-Hook
Usage (Mute) 09 09
Usage (Ring) 09 18
Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 91 02
Report Count (5) 95 05
Output (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 91 03
Report ID (1) 85 01
Report Size (8) 75 08
Report Count (15) 95 0F
Usage Page 06 FF 07
Usage 09 00
Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 81 06
Usage 09 00
Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 91 02
End Collection C0
Usage Page (Consumer Devices) 05 0C
Usage (Consumer Control) 09 01
Collection (Application) A1 01
Logical Minimum (0) 15 00
Logical Maximum (1) 25 01
Report Size (1) 75 01
Report ID (3) 85 03
Report Count (8) 95 08
Usage (Volume Increment) 09 E9
Usage (Volume Decrement) 09 EA
Usage (Play/Pause) 09 CD
Usage (Stop) 09 B7
Usage (Scan Next Track) 09 B5
Usage (Scan Previous Track) 09 B6
Usage (Fast Forward) 09 B3
Usage (Rewind) 09 B4
Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 02
Report ID (5) 85 05
Report Count (1) 95 01
Usage (Mute) 09 E2
Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 02
Report Count (7) 95 07
Input (Cnst,Ary,Abs) 81 01
End Collection C0
Microsoft Teams | Microsoft Teams 商业版 | 会议和通话 | 音频和视频

锁定的问题。 此问题已从 Microsoft 支持社区迁移。 你可投票决定它是否有用,但不能添加评论或回复,也不能关注问题。

0 个注释 无注释

2 个答案

排序依据: 非常有帮助
  1. 匿名
    2024-08-30T03:00:02+00:00

    设备有正确处理control transfer吗

    此答案是否有帮助?

    0 个注释 无注释
  2. 匿名
    2024-08-09T09:58:29+00:00

    您好,宇俊星

    欢迎来到社区分享讨论!

    根据您的描述,我理解您在研发用来连接teams远程会议的会议摄像头,测试接通挂断会议功能时遇到了问题。我很想进一步为您提供帮助,但请理解我们作为公共论坛支持排查问题的工具和资源有限。在此种情形下,我们强烈建议您在 Teams Developer - Microsoft Community Hub 上发帖联系我们的 Teams 开发人员支持团队。专门负责此种咨询和问题的工程师拥有丰富的经验和更多的资源,可以为您提供有效的帮助。请相信他们会对您遇到的问题进行深入研究,并为您提供更专业的帮助。

    另外,根据Skype for Business certification program — Test Specifications | Microsoft Learn(很抱歉此内容未以你的语言提供,所以为英语版),从 V4 specification package开始,微软只向公众发布部分规范。随着 Teams 客户端增加新功能或完善现有功能,关于user flow 和 Accessory Signaling Protocol的规范会经常变化,因此只与直接设备 OEM 合作伙伴共享。

    感谢您的理解和合作,愿您万事顺心!

    此答案是否有帮助?

    0 个注释 无注释