Skip to content

Factor out Bluetooth transports into separate package #29

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

Merged
merged 14 commits into from
Aug 3, 2024

Conversation

fwcd
Copy link
Owner

@fwcd fwcd commented Aug 3, 2024

This factors out the two Bluetooth backends (BluetoothLinux and CoreBluetooth) into a separate package, DistributedChatBluetooth to make it easier to share them e.g. across the CLI and the app. In the future we may also want to expose a platform-independent interface from DistributedChatBluetooth, currently platforms still have to instantiate the corresponding transport.

The Linux implementation is also migrated to the new async API, though would likely deserve some testing.

@fwcd fwcd force-pushed the factor-out-bluetooth branch from 47bebec to 906f136 Compare August 3, 2024 16:27
fwcd added 8 commits August 3, 2024 18:29
This functionality is apparently handled internally now, we might want
to test this further though.
Since we unfortunately no longer get notified about disconnects, we
rename this to avoid confusion, since discovered peripherals will be
kept even after they disconnect.
There seems to be some trouble with Xcode package resolution
@fwcd fwcd merged commit 7e09987 into main Aug 3, 2024
11 checks passed
@fwcd fwcd deleted the factor-out-bluetooth branch August 3, 2024 17:42
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.

1 participant