<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- examples.qdoc --> <title>Qt Bluetooth Examples | Qt Bluetooth 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtbluetooth-index.html">Qt Bluetooth</a></td><td >Qt Bluetooth Examples</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtbluetooth-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level2"><a href="#c-tutorial">C++ Tutorial</a></li> <li class="level2"><a href="#c-examples">C++ Examples</a></li> <li class="level2"><a href="#qml-examples">QML Examples</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt Bluetooth Examples</h1> <span class="subtitle"></span> <!-- $$$bluetooth-examples.html-description --> <div class="descr"> <a name="details"></a> <p>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.</p> <a name="c-tutorial"></a> <h3 id="c-tutorial">C++ Tutorial</h3> <p>The <a href="qtbluetooth-btchat-example.html">Bluetooth Chat</a> example contains a tutorial on how to use the C++ API to create a RFCOMM server and client, and exchange data between them.</p> <a name="c-examples"></a> <h3 id="c-examples">C++ Examples</h3> <div class="table"><table class="generic" width="80%"> <thead><tr class="qt-style"><th >Example</th><th >Description</th></tr></thead> <tr valign="top" class="odd"><td ><a href="qtbluetooth-btchat-example.html">Bluetooth Chat</a></td><td >Simple chat server and client via Bluetooth.</td></tr> <tr valign="top" class="even"><td ><a href="qtbluetooth-btfiletransfer-example.html">Bluetooth File Transfer</a></td><td >Transfer files between Bluetooth devices.</td></tr> <tr valign="top" class="odd"><td ><a href="qtbluetooth-btscanner-example.html">Bluetooth Scanner</a></td><td >Scan for Bluetooth devices.</td></tr> </table></div> <a name="qml-examples"></a> <h3 id="qml-examples">QML Examples</h3> <div class="table"><table class="generic" width="80%"> <thead><tr class="qt-style"><th >Example</th><th >Description</th></tr></thead> <tr valign="top" class="odd"><td ><a href="qtbluetooth-chat-example.html">QML Bluetooth Chat Example</a></td><td >Simple chat client via Bluetooth.</td></tr> <tr valign="top" class="even"><td ><a href="qtbluetooth-picturetransfer-example.html">QML Bluetooth Picture Push Example</a></td><td >Transfer pictures between Bluetooth devices.</td></tr> <tr valign="top" class="odd"><td ><a href="qtbluetooth-pingpong-example.html">QML Bluetooth PingPong</a></td><td >Ping pong game demonstrating Bluetooth socket communication between two devices.</td></tr> <tr valign="top" class="even"><td ><a href="qtbluetooth-scanner-example.html">QML Bluetooth Scanner</a></td><td >Scan for Bluetooth devices and services.</td></tr> <tr valign="top" class="odd"><td ><a href="qtbluetooth-heartrate-game-example.html">QML Bluetooth Low Energy Heart Rate Game</a></td><td >Connect to Bluetooth Low Energy heart rate belts and receive measurements such as the current pulse.</td></tr> <tr valign="top" class="even"><td ><a href="qtbluetooth-lowenergyscanner-example.html">QML Bluetooth Low Energy Scanner</a></td><td >Scan for Bluetooth Low Energy devices and show their services and characteristics.</td></tr> </table></div> </div> <!-- @@@bluetooth-examples.html --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> 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. </p> </div> </body> </html>