ble_backend 1.3.0 ble_backend: ^1.3.0 copied to clipboard
BLE backend interfaces
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ble_backend
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ble_backend: ^1.3.0
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_backend/base/base_ble_connector.dart';
import 'package:ble_backend/base/base_ble_scanner.dart';
import 'package:ble_backend/ble_central.dart';
import 'package:ble_backend/ble_characteristic.dart';
import 'package:ble_backend/ble_connector.dart';
import 'package:ble_backend/ble_mtu.dart';
import 'package:ble_backend/ble_peripheral.dart';
import 'package:ble_backend/ble_scanner.dart';
import 'package:ble_backend/ble_serial.dart';
import 'package:ble_backend/data_notifier.dart';
import 'package:ble_backend/state_notifier.dart';
import 'package:ble_backend/utils/converters.dart';
import 'package:ble_backend/utils/timer_wrapper.dart';
import 'package:ble_backend/work_state.dart';