Examples
SimpleBLE Explorer, a runnable SimpleFltBLE example app that scans, connects, reads, writes and subscribes, with the steps to set it up and run it.
SimpleBLE Explorer
is a Flutter app for Android, iOS, macOS, Windows, and Linux. It scans with the
first adapter, then connects to the peripheral you pick and lists its services,
with buttons to read, write, and subscribe to each characteristic. It requests
the Android Bluetooth permissions with permission_handler. Its setup script
creates the platform projects with flutter create and adds the Android minimum,
the iOS and macOS deployment targets, and the Bluetooth usage description and
entitlement.
cd examples/simplefltble
dart run tool/setup.dart
flutter runThe SimpleDartBLE examples show each operation as a short Dart program, with the same API.
For binding development, see the development guide. For setup and the API, see Usage.
Usage
Install SimpleFltBLE from pub.dev and use SimpleBLE in Flutter apps on Android, iOS, macOS, Windows and Linux, with the app setup each platform needs.
Usage
Build and install SimpleBluez, the C++ library for the BlueZ D-Bus API on Linux, use it from CMake as an installed, local or vendored library, and run tests.
