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

outdated

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

Pub Package

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

import 'package:bluez/bluez.dart';

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

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

await client.close();

Supported platforms #

This package shows on pub.dev as supporting all platforms, not just Linux. This is because the package doesn't contain any platform specific code that would limit which platforms it can run on. It however only makes sense on Linux, as the BlueZ stack is Linux specific, and other platforms have their own Bluetooth stacks. You can safely include this package when writing applications that work on multiple platforms, it will fail with an exception when being used if the BlueZ is not present. There is an open issue requesting the ability to be able to show which platforms a package is intended for.

Contributing to bluez.dart #

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

33
likes
0
pub points
84%
popularity

Publisher

verified publishercanonical.com

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

dbus

More

Packages that depend on bluez