Using bluetooth with qt on raspbian jessie



  • Hi,
    There is a way to use QBluetooth in raspbian jessie?
    I've tried to install qt5.4.1 following this link https://wiki.qt.io/Native_Build_of_Qt_5 ... spberry_Pi, bluez5.36, blueman and add my user to bluetooth group.
    Every time i try to run a bluetooth example (btchat) i have this error:
    "qt.bluetooth.bluez: Devices does not support bluetooth or "00:00:00:00:00:00" is not a valid local adapter".
    There is another problem in bluetooth service, if i run "sudo service bluetooth status" i get:
    "● bluetooth.service - Bluetooth service
    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
    Active: active (running) since mar 2015-12-01 09:12:04 CET; 38min ago
    Docs: man:bluetoothd(8)
    Main PID: 1308 (bluetoothd)
    Status: "Running"
    CGroup: /system.slice/bluetooth.service
    └─1308 /usr/local/libexec/bluetooth/bluetoothd

    dic 01 09:12:04 raspberrypi bluetoothd[1308]: Bluetooth daemon 5.36
    dic 01 09:12:04 raspberrypi systemd[1]: Started Bluetooth service.
    dic 01 09:12:04 raspberrypi bluetoothd[1308]: Starting SDP server
    dic 01 09:12:04 raspberrypi bluetoothd[1308]: Bluetooth management interface 1.9 initialized
    dic 01 09:12:04 raspberrypi bluetoothd[1308]: Failed to obtain handles for "Service Changed" characteristic
    "
    I'm using a usb bluetooth adapter by Logilink.
    Thanks in advice!
    Stefano



  • did you compile qtconnectivity? - seems that you did not.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.