Qt Bluetooth 例
ここでは、Qt Bluetooth APIの全範囲を網羅したさまざまな例を紹介しています。これらは各ドキュメントにも掲載されていますが、ここからもアクセスできます。
C++ チュートリアル
「Bluetooth Chat」のサンプルには、C++ API を使用して RFCOMM サーバーとクライアントを作成し、それらの間でデータをやり取りする方法に関するチュートリアルが含まれています。
C++ の例
| 例 | 説明 |
|---|---|
| Bluetoothチャット | Bluetooth を使用したシンプルなチャットサーバーとクライアント。 |
QMLの例
| 例 | 説明 |
|---|---|
| QML Bluetooth Low Energy 心拍数ゲーム | Bluetooth Low Energy 心拍ベルトに接続し、現在の脈拍などの測定値を受信します。 |
| QML Bluetooth Low Energy スキャナー | Bluetooth Low Energy デバイスをスキャンし、そのサービスや特性を表示します。 |
© 2026 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.