bluetooth_serial_ble 0.5.0+1 copy "bluetooth_serial_ble: ^0.5.0+1" to clipboard
bluetooth_serial_ble: ^0.5.0+1 copied to clipboard

PlatformAndroid
unlisted

A basic Flutter Bluetooth Serial library

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add bluetooth_serial_ble

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  bluetooth_serial_ble: ^0.5.0+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:bluetooth_serial_ble/BluetoothBondState.dart';
import 'package:bluetooth_serial_ble/BluetoothConnection.dart';
import 'package:bluetooth_serial_ble/BluetoothDevice.dart';
import 'package:bluetooth_serial_ble/BluetoothDeviceType.dart';
import 'package:bluetooth_serial_ble/BluetoothDiscoveryResult.dart';
import 'package:bluetooth_serial_ble/BluetoothPairingRequest.dart';
import 'package:bluetooth_serial_ble/BluetoothState.dart';
import 'package:bluetooth_serial_ble/FlutterBluetoothSerial.dart';
import 'package:bluetooth_serial_ble/flutter_bluetooth_serial_ble.dart';
0
likes
130
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A basic Flutter Bluetooth Serial library

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on bluetooth_serial_ble

Packages that implement bluetooth_serial_ble