flutter_spp_bluetooth_serial 0.1.5 copy "flutter_spp_bluetooth_serial: ^0.1.5" to clipboard
flutter_spp_bluetooth_serial: ^0.1.5 copied to clipboard

PlatformAndroid

Flutter basic implementation for Classical Bluetooth (only RFCOMM for now). Forked and republished as flutter_spp_bluetooth_serial.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_spp_bluetooth_serial

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

dependencies:
  flutter_spp_bluetooth_serial: ^0.1.5

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:flutter_spp_bluetooth_serial/BluetoothBondState.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothConnection.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothDevice.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothDeviceType.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothDiscoveryResult.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothPairingRequest.dart';
import 'package:flutter_spp_bluetooth_serial/BluetoothState.dart';
import 'package:flutter_spp_bluetooth_serial/FlutterBluetoothSerial.dart';
import 'package:flutter_spp_bluetooth_serial/flutter_bluetooth_serial.dart';
2
likes
130
points
119
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter basic implementation for Classical Bluetooth (only RFCOMM for now). Forked and republished as flutter_spp_bluetooth_serial.

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_spp_bluetooth_serial

Packages that implement flutter_spp_bluetooth_serial