How to check if the HID command for connecting the device to Teams did not return correctly?
Hello!
We are developing a conference camera to connect Teams for remote meetings. The designed buttons are these (volume+ -, on/off hook) .
I grabbed a hid of a headphone connected to Teams to learn and debug the connection and disconnection of Teams meetings.
I have ported the same hid, which can be set to volume mute and other settings in Report3,
but Teams has been unable to answer.
When Teams calls 1 set_report 04 04 //ring 2
device feedback 02 03; 02 00 ; // 02 03 (Redial) (Hook Switch)
Devices that can answer will use this set_deport 04 05; 04 01 ;
But our device cannot receive set_deport 04 05; 04 01 ;
what wen receive is 04 00, which means the status is incorrect. What does it specifically represent? Why is this happening?
I haven’t found the reason. This is what we caught.
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
We hope to return “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
Hello!We are developing a conference camera to connect Teams for remote meetings. The designed buttons are these (volume+ -, on/off hook) .I grabbed a hid of a headphone connected to Teams to learn and debug the connection and disconnection of Teams meetings. I have ported the same hid, which can be set to volume mute and other settings in Report3,but Teams has been unable to answer. When Teams calls 1 set_report 04 04 //ring 2device feedback 02 03; 02 00 ; // 02 03 (Redial) (Hook Switch)Devices that can answer will use this set_deport 04 05; 04 01 ;But our device cannot receive set_deport 04 05; 04 01 ;what wen receive is 04 00, which means the status is incorrect. What does it specifically represent? Why is this happening?I haven’t found the reason. This is what we caught. 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 CollectionC0 End CollectionC0 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 We hope to return “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 Page06 FF 07 Usage09 00 Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)81 06 Usage09 00 Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit)91 02 End CollectionC0 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 CollectionC0 Read More