ble_reader 0.1.1
ble_reader: ^0.1.1 copied to clipboard
This plugin allows you to enable peripheral mode and stream all data that is received via Bluetooth Low Energy network as ervices and characteristics.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ble_reader
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ble_reader: ^0.1.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ble_reader/ble_reader.dart';