bluez_backend 0.3.1 bluez_backend: ^0.3.1 copied to clipboard
BlueZ backend
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bluez_backend
With Flutter:
$ flutter pub add bluez_backend
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
bluez_backend: ^0.3.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bluez_backend/bluez_central.dart';
import 'package:bluez_backend/bluez_characteristic.dart';
import 'package:bluez_backend/bluez_connector.dart';
import 'package:bluez_backend/bluez_mtu.dart';
import 'package:bluez_backend/bluez_peripheral.dart';
import 'package:bluez_backend/bluez_scanner.dart';