Skip to content
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

completely removed major service filtering because there are bluetoot… #615

Closed

Conversation

degnarraer
Copy link
Contributor

completely removed major service filtering because there are bluetooth speakers that do this wrong. Without this filtering, the user will be presented with a list of ALL bluetooth devices. They will have to know which ones to select. The current bluetooth speaker I am connecting to COD 0x414. This is being filtered out by the current implementation. Secondly, there are other major services that should have been included in the filter. At a minimum, the filtering should be looking at:

ESP_BT_COD_SRVC_RENDERING
ESP_BT_COD_SRVC_AUDIO
ESP_BT_COD_SRVC_TELEPHONY

Since there is no guarantee to other Bluetooth devices will do this correctly, why filter out devices that could be compatible, but are just reporting out the COD incorrectly. I know you have had a lot of reports of speakers not showing up that should have...

…h speakers that do this wrong. Without this filtering, the user will be presented with a list of ALL bluetooth devices. They will have to know which ones to select. The current device I am connecting to uses COD 0x414. This is being filtered out by the current implementation is for rendering only. At a minimum, the filtering should be looking at:

ESP_BT_COD_SRVC_RENDERING
ESP_BT_COD_SRVC_AUDIO
ESP_BT_COD_SRVC_TELEPHONY
@pschatzmann
Copy link
Owner

pschatzmann commented Oct 14, 2024

This is a bit too generic and could break currently working code.
I extended the functioinality to consider ESP_BT_COD_SRVC_AUDIO and ESP_BT_COD_SRVC_TELEPHONY as well.

Anyhow, I am not aware of any issues where a valid speaker would show up as

 --Compatiblity: Incompatible

In the log...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants