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

upstream update & iOS l2cap support #1

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

upstream update & iOS l2cap support #1

wants to merge 46 commits into from

Conversation

oriolsr
Copy link

@oriolsr oriolsr commented Aug 22, 2024

No description provided.

alexmoon and others added 30 commits June 13, 2023 14:40
Create a new session for each `Adapter`. Typically only one `Adapter` should every be created. This allows for the session to be closed when all bluest objects are dropped and also removes the once_cell dependency.

Also filter `discover_*_with_uuid()` by UUID to match other platforms.
alexmoon and others added 16 commits March 20, 2024 08:32
`futures-channel` doesn't support blocking send, so in the callbacks from java
(which are not in an async context) we're forced to do `try_send`, which will lose
data if the channel is full because the Rust side is too busy.

This is not a big deal for scanning, but is for stuff like gatt/l2cap responses that
are coming next.
android: switch from futures-channel to async-channel.
android: add l2cap connection-oriented channel support.
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.

3 participants