<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bluetooth pairing fails]]></title><description><![CDATA[<p dir="auto">I am attempting to pair my Linux Qt5 host with a device offering RFCOMM, and the service is already discovered.  I try to pair with the device's address as follows:</p>
<pre><code>m_adapterPtr-&gt;requestPairing(remoteService.device().address(),QBluetoothLocalDevice::Paired);
</code></pre>
<p dir="auto">But this always results in:</p>
<pre><code>qt.bluetooth.bluez: Failed to create pairing "org.bluez.Error.AuthenticationCanceled"
</code></pre>
<p dir="auto">There are no signals emitted (other than state changed to pairing.  Am I missing a step?</p>
]]></description><link>https://forum.qt.io/topic/145293/bluetooth-pairing-fails</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Apr 2026 00:18:52 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/145293.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 May 2023 00:03:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bluetooth pairing fails on Fri, 10 Nov 2023 14:07:03 GMT]]></title><description><![CDATA[<p dir="auto">Fix will be available in Qt 6.7.</p>
]]></description><link>https://forum.qt.io/post/779377</link><guid isPermaLink="true">https://forum.qt.io/post/779377</guid><dc:creator><![CDATA[Talkless]]></dc:creator><pubDate>Fri, 10 Nov 2023 14:07:03 GMT</pubDate></item><item><title><![CDATA[Reply to Bluetooth pairing fails on Wed, 08 Nov 2023 08:42:00 GMT]]></title><description><![CDATA[<p dir="auto">I've created bug report: <a href="https://bugreports.qt.io/browse/QTBUG-118895" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/browse/QTBUG-118895</a></p>
]]></description><link>https://forum.qt.io/post/779127</link><guid isPermaLink="true">https://forum.qt.io/post/779127</guid><dc:creator><![CDATA[Talkless]]></dc:creator><pubDate>Wed, 08 Nov 2023 08:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bluetooth pairing fails on Wed, 08 Nov 2023 08:08:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ocgltd">@<bdi>ocgltd</bdi></a> said in <a href="/post/759006">Bluetooth pairing fails</a>:</p>
<blockquote>
<p dir="auto">qt.bluetooth.bluez: Failed to create pairing "org.bluez.Error.AuthenticationCanceled"</p>
</blockquote>
<p dir="auto">I too get same error but without error signals... Have you found out way to handle it?</p>
<p dir="auto">I guess workaround could be to monitor for (arbitrary) timeout once pairing request is created...</p>
]]></description><link>https://forum.qt.io/post/779120</link><guid isPermaLink="true">https://forum.qt.io/post/779120</guid><dc:creator><![CDATA[Talkless]]></dc:creator><pubDate>Wed, 08 Nov 2023 08:08:35 GMT</pubDate></item><item><title><![CDATA[Reply to Bluetooth pairing fails on Tue, 23 May 2023 20:42:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ocgltd">@<bdi>ocgltd</bdi></a> You and  are "fighting  same battle" - not  that  helps  you... My latest "observation"  - since I have one local adapter and multiple remote devices - I am making sure only one remote device is paired...not sure if that is even necessary....</p>
]]></description><link>https://forum.qt.io/post/759100</link><guid isPermaLink="true">https://forum.qt.io/post/759100</guid><dc:creator><![CDATA[Anonymous_Banned275]]></dc:creator><pubDate>Tue, 23 May 2023 20:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to Bluetooth pairing fails on Tue, 23 May 2023 15:13:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chrisw67">@<bdi>ChrisW67</bdi></a> The errorOccured signal is never emitted.</p>
<p dir="auto">I'm not sure if a need to pair (to eventually connect to the RFCOMM service), but regardless shouldn't I be able to pair with the device?</p>
]]></description><link>https://forum.qt.io/post/759070</link><guid isPermaLink="true">https://forum.qt.io/post/759070</guid><dc:creator><![CDATA[ocgltd]]></dc:creator><pubDate>Tue, 23 May 2023 15:13:18 GMT</pubDate></item><item><title><![CDATA[Reply to Bluetooth pairing fails on Tue, 23 May 2023 05:14:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ocgltd">@<bdi>ocgltd</bdi></a> What are you seeing in your slot attached to <code>errorOccurred()</code>?</p>
<p dir="auto">Are you sure you need to pair to use an RFCOMM service?   <a href="https://doc.qt.io/qt-6/qtbluetooth-overview.html#exchanging-data-between-devices" target="_blank" rel="noopener noreferrer nofollow ugc">This</a> seems to indicate only a QBluetoothSocket is involved.</p>
]]></description><link>https://forum.qt.io/post/759016</link><guid isPermaLink="true">https://forum.qt.io/post/759016</guid><dc:creator><![CDATA[ChrisW67]]></dc:creator><pubDate>Tue, 23 May 2023 05:14:24 GMT</pubDate></item><item><title><![CDATA[Reply to Bluetooth pairing fails on Tue, 23 May 2023 01:35:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ocgltd">@<bdi>ocgltd</bdi></a> Did you try QBluetoothLocalDevice::AuthorizedPaired</p>
<p dir="auto">Per doc  - if pairing fails you do not get "pairingDone",<br />
I think there is an error SIGNAL I am about to try.</p>
<p dir="auto">I am having heck of a time making sure Bluetooth service is actually running.</p>
<p dir="auto">PS I just noticed - the error does not makes sense.</p>
<p dir="auto">AuthenticationCanceled  - should it  be  " pairing not authorized " instead? bluez is weird ...</p>
]]></description><link>https://forum.qt.io/post/759009</link><guid isPermaLink="true">https://forum.qt.io/post/759009</guid><dc:creator><![CDATA[Anonymous_Banned275]]></dc:creator><pubDate>Tue, 23 May 2023 01:35:33 GMT</pubDate></item></channel></rss>