adafruit / Adafruit_CircuitPython_BLE

Bluetooth Low Energy (BLE) library for CircuitPython
MIT License
124 stars 57 forks source link

Add Telephony Device Page (0x0B) HID_DESCRIPTOR #171

Open ThomasAtBBTF opened 2 years ago

ThomasAtBBTF commented 2 years ago

It would be very helpful if someone could add a sample HID_DESCRIPTOR for the Telephony Device Page (0x0B) So we could make a ItsyBitsy Project to answer or decline incoming calls on an IPhone. (And play with other Usages)

tannewt commented 2 years ago

@ThomasAtBBTF do you mean over BLE or USB?

ThomasAtBBTF commented 2 years ago

BLE !

dhalbert commented 2 years ago

Then this could be done in the BLE library or an additional library. I'll move the issue there.

ThomasAtBBTF commented 2 years ago

I think the "only" thing we need is a small collection of bytes that can be added to the standard HID Descriptor for advertising the peripheral capabilities. I can try to come up with them by myself, but for someone with some experience with headsets and their capabilities to answer calls, switch between calls, and hang up, it will be "a piece of cake" to form an iPhone-compatible descriptor.