-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(esp_hid): Implement Device ID for BT Classic (IDFGH-14564) #15323
Conversation
- DID (device identification) has not worked for Bluetooth Classic. - This implements the HID PID/VID and other information relevant to create the DID when using the esp_hid component.
👋 Hello mitchellcairns, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Hi @mitchellcairns, Thank you for submitting the PR. Would you mind making a slight modification to the code? Instead of directly calling |
@boblane1 Are you proposing implementing a SDP callback within the esp_hid component? I want to make sure I understand what you're getting at. I think this would complicate this a bit as what would then happen later if the user wants to use SDP callbacks for other behavior? |
This does seem to be a problem! However, the primary DIP record created by the user using the SDP API may also overwrite the DIP Record already created in the HID. What's your opinion about the following suggestion?
If you decide to create a DIP record in HID, please care about the resource release. |
In the end I think this is probably the more wise solution. I think I have a better understanding of the situation. Thank you for reviewing! |
Right now, the VID/PID/VID Source are unused for BT Classic HID. This resolves that particular issue. This also Implements VID Source for BLE.