Skip to content

Use l2cap signaling when LeConnUpdate is not available #411

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

HaoboGu
Copy link
Collaborator

@HaoboGu HaoboGu commented Jun 18, 2025

fixes #338

HaoboGu added 2 commits June 18, 2025 12:02
Signed-off-by: Haobo Gu <haobogu@outlook.com>
…is not supported

Signed-off-by: Haobo Gu <haobogu@outlook.com>
@HaoboGu
Copy link
Collaborator Author

HaoboGu commented Jun 18, 2025

LeReadRemoteFeatures is not added because I have yet because I have no idea about how to get the result of LeReadRemoteFeatures, which is a LeReadRemoteFeaturesComplete event.

And, there is Read Remote Supported Features command, I'm not sure which one should be used

@HaoboGu
Copy link
Collaborator Author

HaoboGu commented Jun 18, 2025

Another weird thing is, when acting as central, LeReadLocalSupportedFeatures cmd still returns supports_conn_parameters_request_procedure = false. But using LeConnUpdate to update the connection parameters runs well, so I add the role == LeConnRole::Central condition. Maybe I somehow misunderstood the spec, but it works for now.

… which won't be implemented now

Signed-off-by: Haobo Gu <haobogu@outlook.com>
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.

BleHost(Disconnected) when setting connection param
2 participants