PureSwift/BluetoothLinux Example
git clone https://github.com/colemancda/DemoPeripheral
cd DemoPeripheral
swift build
In
Packages/CStatfs-1.0.0/module.modulemap
Replace
x86_64-linux-gnu
by
arm-linux-gnueabihf
swift build
sudo .build/debug/Peripheral
You will see this logging in your console
Starting Peripheral Daemon...
Peripheral: Started GATT Server
Initialized Peripheral 0bd6311b-d0c9-425c-928b-89cc5bc0170c
You can explore with LightBlue