[Interest] QtBluetooth device connection issue
Blasche Alexander
Alexander.Blasche at digia.com
Tue Sep 9 08:45:11 CEST 2014
Hi,
I am going to assume that your dongle's service uses the same uuid and protocol type (rfcomm) as the btchat example. Otherwise this would never work.
My guess is that you have not paired the two devices properly. Your error message is what I get in such cases. Even if one partner is reporting a proper pairing try to redo it and reconnect. This forces both sides to acknowledge the situation.
I am sorry but I cannot make any statements about the state/firmware of your dongle. There are too many dongles on the market as that I could give a statement about yours.
--
Alex
________________________________
From: interest-bounces+alexander.blasche=digia.com at qt-project.org [interest-bounces+alexander.blasche=digia.com at qt-project.org] on behalf of Ramakanthreddy Kesireddy [Ramakanthreddy.Kesireddy at TechMahindra.com]
Sent: Tuesday, September 09, 2014 07:58
To: interest at qt-project.org
Subject: [Interest] QtBluetooth device connection issue
Hi,
Am using Qt 5.3 on Ubuntu 13.10 desktop and tried to run both qmlscanner and bychat example applications
to connect to OBDII dongle.
When I run qmlscanner with full discovery, it gives below service description:
OBDII->
Address: 00:0D:18:00:00:01
Service: RDA SPP
Protocol:168618128
OBDII->
Address: 00:0D:18:00:00:01
But with btchat example, it is unable to connect with logs when we click connect as below:
got click "OBDII RDA SPP"
Connecting to service 2 "RDA SPP" on "OBDII"
Going to create client
Connecting...
Start client
Create socket
ConnectToService done
qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 21 error: -1 "Resource temporarily unavailable"
Please let me know if there is a problem with dongle(either firmware or port not opened) being used or do we need to use any different UUID to connect to device?
Thanks and Regards,
Ramakanth
________________________________
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140909/ff239184/attachment.html>
More information about the Interest
mailing list