Qt Bluetooth C++ Classes

デバイスのスキャンや接続など、Bluetoothの基本操作を可能にする。詳細...

名前空間

QBluetooth

Bluetooth に関連するクラスと関数

クラス

QBluetoothAddress

Bluetoothデバイスにアドレスを割り当てる

QBluetoothDeviceDiscoveryAgent

近くにあるBluetoothデバイスを検出する

QBluetoothDeviceInfo

Bluetoothデバイスに関する情報を格納

QBluetoothHostInfo

ローカルのQBluetoothデバイスの詳細をカプセル化する

QBluetoothLocalDevice

ローカルのBluetoothデバイスへのアクセスを有効にする

QBluetoothServer

Bluetooth デバイスとの通信に RFCOMM または L2cap プロトコルを使用します。

QBluetoothServiceDiscoveryAgent

Bluetoothサービスのクエリーを可能にします

QBluetoothServiceInfo

Bluetoothサービスの属性へのアクセスを可能にします

QBluetoothServiceInfo::Alternative

Bluetooth Data Element Alternative の属性を保存します。

QBluetoothServiceInfo::Sequence

Bluetooth データ・エレメント・シーケンスの属性を保存します。

QBluetoothSocket

ブルートゥース・サーバーを実行しているブルートゥース・デバイスへの接続を可能にします。

QBluetoothUuid

各BluetoothサービスのUUIDを生成します。

QLowEnergyAdvertisingData

Bluetooth Low Energy広告中にブロードキャストされるデータを表します。

QLowEnergyAdvertisingParameters

Bluetooth Low Energy 広告に使用されるパラメータを表します。

QLowEnergyAdvertisingParameters::AddressInfo

QLowEnergyAdvertisingParameters::AddressInfo はホワイトリストの要素を定義します。

QLowEnergyCharacteristic

Bluetooth Low Energy サービス特性に関する情報を格納します。

QLowEnergyCharacteristicData

GATT サービスデータの設定に使用されます

QLowEnergyConnectionParameters

Bluetooth LE 接続のパラメータの更新を要求または報告する際に使用される

QLowEnergyController

Bluetooth Low Energy デバイスへのアクセス

QLowEnergyDescriptor

Bluetooth Low Energy記述子に関する情報を格納します

QLowEnergyDescriptorData

GATTサービスデータの作成に使用

QLowEnergyService

ブルートゥース・ロー・エナジー・デバイス上の個々のサービスを表す

QLowEnergyServiceData

GATT サービスデータの設定に使用

詳細説明

C++ APIは Qt BluetoothC++ API を使用すると、アプリケーションでデバイスをスキャンし、より柔軟な方法でデバイスに接続し、対話することができます。

アプリケーションで C++ ライブラリを使用するには、.pro ファイルに以下の設定オプションを追加します:

QT += bluetooth

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.