Qt Bluetooth Examples

This is a variety of examples that cover the entire range of the Qt Bluetooth API. You will find them in their own documentation but they are also accessible from here.

C++ Tutorial

The Bluetooth Chat example contains a tutorial on how to use the C++ API to create a RFCOMM server and client, and exchange data between them.

C++ Examples

Bluetooth ChatSimple chat server and client via Bluetooth.
Bluetooth File TransferTransfer files between Bluetooth devices.
Bluetooth ScannerScan for Bluetooth devices.

QML Examples

QML Bluetooth Chat ExampleSimple chat client via Bluetooth.
QML Bluetooth Picture Push ExampleTransfer pictures between Bluetooth devices.
QML Bluetooth PingPongPing pong game demonstrating Bluetooth socket communication between two devices.
QML Bluetooth ScannerScan for Bluetooth devices and services.
QML Bluetooth Low Energy Heart Rate GameConnect to Bluetooth Low Energy heart rate belts and receive measurements such as the current pulse.
QML Bluetooth Low Energy ScannerScan for Bluetooth Low Energy devices and show their services and characteristics.

© 2024 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.