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.
This factors out the two Bluetooth backends (
BluetoothLinux
andCoreBluetooth
) 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 fromDistributedChatBluetooth
, 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.