Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70169

Qt Bluetooth Low Energy with bluez5 doesn't detect name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P4: Low
    • None
    • 5.7, 5.8, 5.9
    • None
    • Linux Ubuntu 16.04 x64
      Armbian for thinkerboard
      Bluez 5
    • Linux/X11, Linux/Other display system

    Description

      When the signal deviceDiscovered(QBluetoothDeviceInfo) of QBluetoothDeviceDiscoveryAgent is emitted and I try to access to the QBluetoothDeviceInfo name(), it returns the Alias of the Bluetooth instead of the name.

      I have also checked the implementation of that class and in the slot deviceFoundBluez5 bluetooth name is equal to device.alias() instead of device.name() in line 352.

      I have also made a python application that uses dbus to call directly to org.bluez and i have gotten that Alias was 51-A4-F3-04-A9-31 and my qt application also got the same as name (Image1)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            gezs0404 German Eduardo Zapata Segura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes