A cross-platform (Android/iOS/macOS/Windows/Linux) BluetoothLE plugin for Flutter
Note: It is a federated plugin structure
https://www.bluetooth.com/blog/4-essential-tools-for-every-bluetooth-low-energy-developer/
Client Emulator Apps
Bluetooth Sniffer
On iOS/macOS some common service/characteristic would be shortened. Be careful when comparing the UUID. I haven't finished the refactor of notepad_core
to quick_blue
yet
On the Dart side you'd better call like: https://github.com/woodemi/notepad_core/blob/b0e329f3d6e02f14f8a0e5e48a6ddb48e026b658/notepad_core/lib/woodemi/WoodemiClient.dart#L245-L256
const CODE__SERV_BATTERY = "180f";
const CODE__CHAR_BATTERY_LEVEL = "2a19";
const SERV__BATTERY = "0000$CODE__SERV_BATTERY-$GSS_SUFFIX";
const CHAR__BATTERY_LEVEL = "0000$CODE__CHAR_BATTERY_LEVEL-$GSS_SUFFIX";
Common service/characteristic list
Doc of samples: https://docs.microsoft.com/en-us/samples/microsoft/windows-universal-samples/bluetoothle Code of samples: https://github.com/microsoft/windows-universal-samples/tree/main/Samples/BluetoothLE
Some other help
There is a version restriction with Connection without pairing
on C++/WinRT
and Windows 10
bluez
package: https://github.com/canonical/bluez.dart