FLUTTER ECOSYSTEM

canonical/bluez.dart

[BlueZ](http://www.bluez.org/)(Linux Bluetooth スタック)に接続するためのクライアントを提供します。

bluez.dart のプロジェクト画像
Stars
59
Forks
24
最終プッシュ(UTC)
2025/08/25
プロジェクト状態
公開中
Canonical GitHub avatar
GITHUB Organization

Canonical ↗

言語Dart

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 4 件
  • dbus^0.7.11
  • lints開発用^2.0.0
  • test開発用^1.16.8
  • test_cov開発用^1.0.1

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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.