[Interest] Problems with Bluetooth examples

Christoph Petzold christoph.petzold at hasomed.de
Wed Aug 12 13:53:57 CEST 2015


Hi,

 
i tried the following bluetooth examples 

 
http://doc.qt.io/qt-5/qtbluetooth-btchat-example.html <http://doc.qt.io/qt-5/qtbluetooth-btchat-example.html> 

 
QBluetoothLocalDevice::allDevices().size() returns 0 devices. So this cannot work.

 
http://doc.qt.io/qt-5/qtbluetooth-pingpong-example.html <http://doc.qt.io/qt-5/qtbluetooth-pingpong-example.html> 

 
in PingPong::startServer() i inserted

 
    if(!service.isValid())

    {

        qDebug() << "Error: could not start listening server!";

        qDebug() << m_serverInfo->error();

    }

 
The output of error() gives me 5 (UnsupportedProtocolError). I think this is why i do not get any client-server connection.

 
I use Qt 5.5.0 msvc2013 64 Bit and mingw 4.9.2 32 Bit and Windows7 64 Bit. 

 
Windows device manager tells me that there is a «Generic Bluetooth Radio».

I thought that i just have to plug in the bluetooth-usb adapter and run the examples to get into bluetooth with Qt.

What are the next steps to get the examples running with bluetooth? Any suggestions? Maybe i have to do some Windows settings before?

 
Mit freundlichen Grüßen/ Best regards

 
Christoph Petzold

Mitarbeiter Abteilung Funktionelle Elektrostimulation

 

 
HASOMED GmbH
Paul-Ecke-Str. 1
39114 Magdeburg

 
Tel.: +49 391  62 30 112

Fax: +49 391  62 30 113

E Mail: christoph.petzold at hasomed.de

Web: www.hasomed.de <http://www.hasomed.de/> 


HRB 108418
UST IdNo DE 114 161 708
Steuernummer 102/111/09705
GF Dr. Peter Weber, Frank Schulze

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150812/074bb8d0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4549 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150812/074bb8d0/attachment.png>


More information about the Interest mailing list