<?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 some problem]]></title><description><![CDATA[<p dir="auto">why rssi value is 0 in serviceInfo.device().rssi() where serviceInfo is of type QBluetoothServiceInfo &amp;?</p>
<p dir="auto">I had developed part of my application earlier. After virus in my windows partition, I formatted the system.<br />
I had a part of earlier codebase.<br />
But i doubt my new installation is behaving differently.<br />
I am testing with BTChat example downloaded from QTDocs. But it is behaving differently.<br />
I am using same  app in 2 systems. In 1system it finds the other BT device. But in the other device it does not find the 1st one.Earlier both systems could find each other.</p>
<p dir="auto">1 more problem,in the app that i developed- 1system is not showing the updation of screen containing rssi distance. It is the same system that does not find the other device in BTchat example. But I tried debugging my app. While debugging it shows rssi updates but not while in run mode.<br />
2nd problem- In the other device rssi is always zero while therssi obtainedin 1st device in debug mode has a value and shows some distance</p>
<p dir="auto">I debugged more to find that QBluetoothServiceDiscoveryAgent::serviceDiscovered(QBluetoothServiceInfo)(signal) is not called. So, rssi updation does not happen. Why does serviceDiscovered not called?any idea?</p>
<p dir="auto">May be</p>
<pre><code>    localAdapters = QBluetoothLocalDevice::allDevices();
                const QBluetoothAddress adapter2 = localAdapters.isEmpty() ? QBluetoothAddress() :localAdapters.at(currentAdapterIndex).address();                                            
            
            localAdapters.at(currentAdapterIndex).address();                
            
            m_discoveryAgent = new QBluetoothServiceDiscoveryAgent(adapter2);
connect(m_discoveryAgent, SIGNAL(serviceDiscovered(QBluetoothServiceInfo)),
this, SLOT(serviceDiscovered(QBluetoothServiceInfo)));
</code></pre>
<p dir="auto">where currentAdapterIndex=0. <a href="http://failed.Is" target="_blank" rel="noopener noreferrer nofollow ugc">failed.Is</a> there any h/w issue related to bt adapter?</p>
]]></description><link>https://forum.qt.io/topic/84113/bluetooth-some-problem</link><generator>RSS for Node</generator><lastBuildDate>Sat, 31 Oct 2026 12:53:30 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/84113.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Oct 2017 15:43:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to bluetooth some problem on Thu, 12 Oct 2017 18:50:41 GMT]]></title><description><![CDATA[<p dir="auto">Please change the title of the thread to something meaningful.</p>
]]></description><link>https://forum.qt.io/post/420442</link><guid isPermaLink="true">https://forum.qt.io/post/420442</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 12 Oct 2017 18:50:41 GMT</pubDate></item><item><title><![CDATA[Reply to bluetooth some problem on Thu, 12 Oct 2017 16:14:34 GMT]]></title><description><![CDATA[<p dir="auto">summarising: 1&gt;In both cases(my app and BTChat app) in laptop1 serviceDiscovered signal is not fired 2&gt;in laptop 2 rssi=0; in laptop1 rssi is valid</p>
]]></description><link>https://forum.qt.io/post/420387</link><guid isPermaLink="true">https://forum.qt.io/post/420387</guid><dc:creator><![CDATA[sandeepmhptr]]></dc:creator><pubDate>Thu, 12 Oct 2017 16:14:34 GMT</pubDate></item></channel></rss>