Qt Bluetooth Examples

Examples for the Qt Bluetooth module.

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

Example

Description

Bluetooth Chat

Simple chat server and client via Bluetooth.

Bluetooth Scanner

Scan for Bluetooth devices.

QML Examples

Example

Description

QML Bluetooth PingPong

Ping pong game demonstrating Bluetooth socket communication between two devices.

QML Bluetooth Low Energy Heart Rate Game

Connect to Bluetooth Low Energy heart rate belts and receive measurements such as the current pulse.

QML Bluetooth Low Energy Scanner

Scan for Bluetooth Low Energy devices and show their services and characteristics.