Skip to content

[Flatpak] Bluetooth client mode doesn't work #95

@halfrafu

Description

@halfrafu

Hello, thanks for the great serial port utility.

I've tried connecting to my HC-06 bluetooth module and while it's getting discovered properly I can't connect. I'm getting a "Cannot establish the connection. Service cannot be found." error.

In the logs I'm getting this:

qt.bluetooth.bluez: SDP search failed for "<HC-06 adapter's MAC>"
Connection::onErrorOccurred()
BT Socket Error: QBluetoothSocket::ServiceNotFoundError "Service cannot be found"
State: QBluetoothSocket::ServiceLookupState
Connection::onDisconnected()
IODevice Disconnected
Connection::onDisconnected()
Connection::onDisconnected()
QCoreApplication::postEvent: Unexpected null receiver
qt.bluetooth.bluez: Cannot find sdpscanner: ""

So it seems to me that sdpscanner command is missing and in fact it's not available in the flatpak container. I've tried installing sdpscanner command on my host system but it didn't help. I think it's necessary to bundle sdpscanner together with the app.

OS: Linux Fedora 42

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions