パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.9.0

bluez

Linux Bluetooth スタックである BlueZ に接続するためのクライアントを提供します。

Linux
30日間ダウンロード
37.2万
いいね数
45
Pub ポイント
150

パッケージをインストール

flutter pub add bluez

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

bluez パッケージは、公式の Linux Bluetooth スタックである BlueZ に接続するための Dart クライアントを提供します。Linux 上で実行される Flutter アプリケーションが Bluetooth デバイスとやり取りできるようにし、近隣デバイスの検出、接続の確立、データの交換などのタスクを容易にします。Linux 環境専用に設計されており、システムのネイティブな Bluetooth インフラストラクチャとシームレスに統合されます。このパッケージは、IoT コントローラー、ペリフェラル通信ツール、デバイス管理ユーティリティなど、Bluetooth 機能が必要な Linux ネイティブアプリを開発する開発者にとって理想的です。

用途

  • LinuxベースのBluetoothデバイス検出
  • Bluetooth周辺機器に接続しています
  • Bluetoothを介したIoTデバイス制御
  • Linux アプリケーションにおけるBluetoothデータ転送
  • システムレベルのBluetooth統合

主な機能

  • ネイティブな BlueZ 統合
  • Linux専用のプラットフォームサポート
  • Dartベースの非同期API
  • Bluetooth LE およびクラシック Bluetooth をサポート
  • 低レベルのBluetoothスタックアクセス

適している対象

  • Linux プラットフォームをターゲットにする開発者
  • IoTアプリケーション作成者
  • システムレベルのBluetoothツールビルダー
  • Linuxデスクトップアプリ開発者
  • Bluetoothプロトコル実験者

注意事項

  • Linuxオペレーティングシステムに限定
  • BlueZ デーモンが実行されている必要があります
  • モバイルまたはWindowsのサポートなし
  • 高度な使用にはBluetoothに関する知識が必要です
  • Linuxでは、権限の設定が必要になる場合があります

元の README

関連するソースリポジトリの 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.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト