Pub Package

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

import 'package:dbus/dbus.dart';
import 'package:bluez/bluez.dart';

var systemBus = DBusClient.system();
var client = BlueZClient(systemBus);
await client.connect();

print('Devices:');
for (var device in client.devices) {
  print('  ${device.name}');
}

await systemBus.close();

Contributing to bluez.dart

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

Libraries

bluez