Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
bluez 5.23-2b1
Linux 4.0.0-2-amd64
Qt 5.5.0 (Qt build)
Description
I'm trying to connect to a service on a device but after providing the QBluetoothServiceInfo to connectToService on QBluetoothSocket I got:
qt.bluetooth: No port, no PSM, and no UUID provided, unable to connect
asking the UUID of the info, shows a 0000..0000 invalid UUID, listing the service info attributes shows (1, 4, 256) in which ServiceId = 3 is not listed so the QBluetoothServiceInfo was not properly filled.
Introspecting bluez it shows the right Services UUIDs, but manually setting it I get:
qt.bluetooth: Starting discovery
qt.bluetooth: UUID filter ("
")
qt.bluetooth.bluez: Discovery on: "20:15:04:10:02:08" Mode: 1
qt.bluetooth: Socket discovery finished
qt.bluetooth: Didn't find any
Which might be another issue...
Attachments
Issue Links
- resulted in
-
QTBUG-53041 SDP service discovery fails if target device does not support browsing
-
- Closed
-
For Gerrit Dashboard: QTBUG-47593 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
157196,4 | Bluez5: Fix serial service discovery inside QBluetoothSocket | 5.6 | qt/qtconnectivity | Status: MERGED | +2 | 0 |