A Flutter plugin for controlling the bluetooth low energy.
xSetUp/TearDown central controller.
xGet/Listen central state.
xGet GATT services.
xGet GATT characteristics.
xGet GATT descriptors.
xRead/Write/Notify GATT characteristics.
xRead/Write GATT descriptors.
bluetooth_low_energy as a dependency in your pubspec.yaml file.
dependencies: bluetooth_low_energy: ^<latest-version>
Remember to call
await CentralController.setUp() before use any apis of this plugin.
Note: Bluetooth Low Energy doesn't work on emulators, so use physical devices which has bluetooth features for development.
Make sure you have a
miniSdkVersion with 21 or higher in your
iOS and macOS
Not tested enough, if you occured any problems, file an issue to let me know about it, i will fix it as soon as possible.
Not implemented yet but maybe someday or someone can use the
win32 api to implement this plugin_interface or someday the flutter team support C# on windows platform or someday I am familiar with C++ language...