Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Bluetooth LE Support QT5.5
Forum Updated to NodeBB v4.3 + New Features

Bluetooth LE Support QT5.5

Scheduled Pinned Locked Moved QtonPi
bluetoothraspberry pi
5 Posts 2 Posters 3.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ralle
    wrote on last edited by
    #1

    I have a Qt Apllication that uses the bluetooth LE functionalities. i want this project get working on the raspberry pi. i created the cross compile environment with Ubuntu 15.04 and its working. Starting the cross compiled application on the raspberry pi is also working. the problem is that the QTBluetoothDeviceDiscovery Agent throws this message: "device discovery is not supported on this platform"

    How can i solve this?
    I have compiled the qtbase and qtconnectivity sources.

    1 Reply Last reply
    0
    • sneubertS Offline
      sneubertS Offline
      sneubert
      wrote on last edited by
      #2

      Hi Ralle,

      QtBluetooth is using the BlueZ Stack on Linux. Did you install this on your raspi?

      1 Reply Last reply
      1
      • R Offline
        R Offline
        Ralle
        wrote on last edited by Ralle
        #3

        yeah thx, its working. i had it installed but after compiling qt, that was the fault. But the low energy is not really working. another missing package that i have to install? I have installed: bluetooth bluez-utils libbluetooth-dev

        1 Reply Last reply
        0
        • sneubertS Offline
          sneubertS Offline
          sneubert
          wrote on last edited by
          #4

          seems BLE is not well supported with the standard packages. Maybe you need to build an install a newer version of bluez.

          have a look at: http://www.elinux.org/RPi_Bluetooth_LE

          1 Reply Last reply
          1
          • R Offline
            R Offline
            Ralle
            wrote on last edited by Ralle
            #5

            not working :/ if i compile bluez5, qt5 dont recognize bluez. qmake says for the qtconnectivity modul :
            "Checking for bluez... no"
            "Checking for bluez_le... no"

            If i installed bluez 4.99 over apt-get bluez is recognised, only bluez_le not.
            do i have to change other settings after compile and install bluez5?

            EDIT: i have upgraded to jessie, no its working. Jessie uses bluez 5.23. maybe it's also working if bluez5 is used on wheezy, don't know.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved