/usr/share/qt5/doc/qtbluetooth/qtbluetooth-index.html is in qtconnectivity5-doc-html 5.7.1~20161021-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- bluetooth-index.qdoc -->
<title>Qt Bluetooth 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
window.onload = function(){document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");};
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td >Qt 5.7</td><td >Qt Bluetooth</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.7.1 Reference Documentation</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="level1"><a href="#overview">Overview</a></li>
<li class="level1"><a href="#getting-started">Getting Started</a></li>
<li class="level1"><a href="#related-information">Related Information</a></li>
<li class="level2"><a href="#building-qt-bluetooth">Building Qt Bluetooth</a></li>
<li class="level2"><a href="#guides">Guides</a></li>
<li class="level2"><a href="#reference">Reference</a></li>
<li class="level2"><a href="#logging-categories">Logging Categories</a></li>
<li class="level2"><a href="#examples">Examples</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Bluetooth</h1>
<span class="subtitle"></span>
<!-- $$$qtbluetooth-index.html-description -->
<div class="descr"> <a name="details"></a>
<p>The Bluetooth API provides connectivity between Bluetooth enabled devices.</p>
<p>Currently, the API is supported on the following platforms: Android, iOS, Linux (<a href="http://www.bluez.org">BlueZ 4.x/5.x</a>) and macOS.</p>
<a name="overview"></a>
<h2 id="overview">Overview</h2>
<p>Bluetooth is a short-range (less than 100 meters) wireless technology. It has a reasonably high data transfer rate of 2.1 Mbit/s, which makes it ideal for transferring data between devices. Bluetooth connectivity is based on basic device management, such as scanning for devices, gathering information about them, and exchanging data between them.</p>
<p>Qt Bluetooth supports Bluetooth Low Energy development for client/central role use cases. Further details can be found in the <a href="qtbluetooth-le-overview.html">Bluetooth Low Energy Overview</a> section.</p>
<p>A new addition in this Qt Bluetooth 5.7 release covers support for Bluetooth Low Energy applications performing the peripheral/server role. This new API is a Technology Preview.</p>
<a name="getting-started"></a>
<h2 id="getting-started">Getting Started</h2>
<p>To use the C++ library in your application, add the following configuration option to your <code>.pro</code> file:</p>
<pre class="cpp">
QT += bluetooth
</pre>
<p>To use the classes of the module in your application you need the following import statement in your <code>.qml</code> file:</p>
<pre class="qml">
import QtBluetooth 5.2
</pre>
<a name="related-information"></a>
<h2 id="related-information">Related Information</h2>
<a name="building-qt-bluetooth"></a>
<h3 >Building Qt Bluetooth</h3>
<p>Despite the fact that the module can be built for all Qt platforms, the module is not ported to all of them. Not supported platforms such as Windows desktop employ a fake or dummy backend which is automatically selected when the platform is not supported. The dummy backend reports appropriate error messages and values which allow the Qt Bluetooth developer to detect at runtime that the current platform is not supported. The dummy backend is also selected on Linux if BlueZ development headers are not found during build time or Qt was built without Qt D-Bus support.</p>
<p>The usage of the dummy backend is highlighted via an appropriate warning while building and running.</p>
<a name="guides"></a>
<h3 >Guides</h3>
<ul>
<li><a href="qtbluetooth-overview.html">Classic Bluetooth Overview</a></li>
<li><a href="qtbluetooth-le-overview.html">Bluetooth Low Energy Overview</a></li>
</ul>
<a name="reference"></a>
<h3 >Reference</h3>
<ul>
<li><a href="qtbluetooth-qmlmodule.html">QML Types</a></li>
<li><a href="qtbluetooth-module.html">C++ Classes</a></li>
</ul>
<a name="logging-categories"></a>
<h3 >Logging Categories</h3>
<p>The <a href="qtbluetooth-qmlmodule.html">QtBluetooth</a> module exports the following <a href="../qtcore/qloggingcategory.html#configuring-categories">logging categories</a>:</p>
<div class="table"><table class="generic">
<thead><tr class="qt-style"><th >Logging Category</th><th >Description</th></tr></thead>
<tr valign="top" class="odd"><td >qt.bluetooth</td><td >Enables logging of cross platform code path in <a href="qtbluetooth-qmlmodule.html">QtBluetooth</a></td></tr>
<tr valign="top" class="even"><td >qt.bluetooth.android</td><td >Enables logging of the Android implementation</td></tr>
<tr valign="top" class="odd"><td >qt.bluetooth.bluez</td><td >Enables logging of the BLuez/Linux implementation</td></tr>
<tr valign="top" class="even"><td >qt.bluetooth.ios</td><td >Enables logging of the iOS implementation</td></tr>
<tr valign="top" class="odd"><td >qt.bluetooth.osx</td><td >Enables logging of the macOS implementation</td></tr>
</table></div>
<a name="examples"></a>
<h3 >Examples</h3>
<ul>
<li>QML<ul>
<li><a href="qtbluetooth-scanner-example.html">QML Bluetooth Scanner</a></li>
<li><a href="qtbluetooth-picturetransfer-example.html">QML Bluetooth Picture Push</a></li>
<li><a href="qtbluetooth-pingpong-example.html">QML Bluetooth PingPong</a></li>
<li><a href="qtbluetooth-chat-example.html">QML Bluetooth Chat</a></li>
<li><a href="qtbluetooth-heartlistener-example.html">Bluetooth Low Energy Heart Listener</a></li>
<li><a href="qtbluetooth-heartrate-server-example.html">Bluetooth Low Energy Heart Rate Server</a></li>
<li><a href="qtbluetooth-lowenergyscanner-example.html">Bluetooth Low Energy Scanner</a></li>
</ul>
</li>
<li>C++<ul>
<li><a href="qtbluetooth-btchat-example.html">Bluetooth Chat</a></li>
<li><a href="qtbluetooth-btscanner-example.html">Bluetooth Scanner</a></li>
<li><a href="qtbluetooth-btfiletransfer-example.html">Bluetooth File Transfer</a></li>
</ul>
</li>
</ul>
</div>
<!-- @@@qtbluetooth-index.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2016 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>
|