FLUTTER ECOSYSTEM

canonical/bluez.dart

Provides a client to connect to [BlueZ](http://www.bluez.org/) - the Linux Bluetooth stack.

bluez.dart project cover
Stars
59
Forks
24
Last push (UTC)
Aug 25, 2025
Project status
Active
Canonical GitHub avatar
GITHUB Organization

Canonical ↗

LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 4 items
  • dbus^0.7.11
  • lintsDevelopment^2.0.0
  • testDevelopment^1.16.8
  • test_covDevelopment^1.0.1

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

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.