2021-07-02 10:02:58 +08:00
2021-06-10 18:06:02 +08:00
2021-07-01 17:35:54 +08:00
2021-07-02 10:02:58 +08:00
2021-06-10 18:06:02 +08:00
2021-07-01 17:35:54 +08:00
2021-07-01 17:35:54 +08:00
2021-07-01 17:35:54 +08:00
2021-06-10 18:06:02 +08:00
2021-06-10 18:06:02 +08:00
2021-06-10 18:06:02 +08:00
2021-06-10 18:06:02 +08:00
2021-07-01 17:35:54 +08:00
2021-07-01 17:35:54 +08:00
2021-06-10 18:06:02 +08:00
2021-07-02 09:16:11 +08:00
2021-07-01 17:35:54 +08:00

Bluetooth Low Energy

A bluetooth low energy plugin for flutter, which can be used to develope central role apps.

Features

Central APIs

  • Discover advertisements.
  • Connect/Disconnect to GATTs.
  • Read/Write/Notify characteristics.
  • Read/Write descriptors.

Peripheral APIs

  • Add/Send advertisements.
  • Add services
  • Add/Listen/Write characteristics
  • Add/Listen/Write descriptors.
  • Listen GATT connect/disconnect events.

Getting Started

Add bluetooth_low_energy as a dependency in your pubspec.yaml file.

dependencies:
  bluetooth_low_energy: ^<latest-version>

Android

Make sure you have a miniSdkVersion with 21 or higher in your android/app/build.gradle file, now we only support Android 5.0 or above.

Note: Bluetooth Low Energy doesn't work on Android emulators, so use physical devices which has bluetooth features for development.

iOS

TO BE DONE.

Issues

  • Only support Android for now, iOS will available as soon as possible.
  • Only support central APIs for now.
Description
No description provided
Readme 1.4 MiB
Languages
Dart 53.6%
C++ 22%
Kotlin 10.7%
Swift 9.4%
CMake 3.5%
Other 0.8%