bluez 0.8.2 copy "bluez: ^0.8.2" to clipboard
bluez: ^0.8.2 copied to clipboard

PlatformLinux

Provides a client to connect to BlueZ - the Linux Bluetooth stack.

Pub Package codecov

Provides a client to connect to BlueZ - the Linux Bluetooth stack.

import 'package:bluez/bluez.dart';

final client = BlueZClient();
await client.connect();

for (final device in client.devices) {
  print('Device ${device.address} ${device.alias}');
}

await client.close();

Supported platforms #

This package is designed for use on Linux, as the BlueZ stack is Linux-specific (other platforms have their own Bluetooth stacks). You can safely include this package when writing applications that work on multiple platforms, but it will fail with an exception when being used if BlueZ is not present.

Contributing to bluez.dart #

We welcome contributions! See the contribution guide for more details.

34
likes
155
pub points
84%
popularity

Publisher

verified publishercanonical.com

Provides a client to connect to BlueZ - the Linux Bluetooth stack.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MPL-2.0 (LICENSE)

Dependencies

dbus

More

Packages that depend on bluez