fwcd / distributed-chat

Distributed peer-to-peer messaging app using Bluetooth LE mesh networks
Mozilla Public License 2.0
73 stars 11 forks source link

Factor out Bluetooth transports into separate package #29

Closed fwcd closed 3 months ago

fwcd commented 3 months ago

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.