[Interest] Problems with Bluetooth examples
Federico Buti
bacarozzo at gmail.com
Wed Aug 12 14:07:25 CEST 2015
Hi,
AFAIK there is still no support for Windows yet (or either the documentation
<http://doc.qt.io/qt-5/qtbluetooth-index.html> is not up-to-date).
Support for Win (and WinPhone) is planned. I remembered to have read it in
some discussion.
Someone more informed can correct me if I'm wrong.
Br,
F.
---
Federico Buti
On 12 August 2015 at 13:53, Christoph Petzold <christoph.petzold at hasomed.de>
wrote:
> Hi,
>
>
>
> i tried the following bluetooth examples
>
>
>
> 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
>
>
>
> 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
>
>
>
> *[image: cid:image001.png at 01CF7F0A.E74DF480]*
>
>
>
> 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
>
>
> HRB 108418
> UST IdNo DE 114 161 708
> Steuernummer 102/111/09705
> GF Dr. Peter Weber, Frank Schulze
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150812/352e1461/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/352e1461/attachment.png>
More information about the Interest
mailing list