Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. BLE on Windows 10 : wrong DataCompleteness value
Forum Updated to NodeBB v4.3 + New Features

BLE on Windows 10 : wrong DataCompleteness value

Scheduled Pinned Locked Moved Unsolved General and Desktop
qbluetoothblewindows 10
1 Posts 1 Posters 459 Views
  • 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.
  • S Offline
    S Offline
    sfeutrier
    wrote on 1 Apr 2020, 12:27 last edited by sfeutrier 4 Jan 2020, 15:54
    #1

    Hello,

    What I am trying to do is filtering BLE devices found by the discoveryAgent. Indeed, I would like to filter by vendor ID, product ID and by ServiceUuid.
    Sadly, I'm not able to get Manufacturer specific data. manufacturerIds().length() always returns 0.
    I saw this : https://bugreports.qt.io/browse/QTBUG-46008. So, it seems that it is not yet implemented fro vendor ID, etc.

    I also saw https://bugreports.qt.io/browse/QTBUG-47550 which says that calling this :

    QBluetoothDeviceInfo::serviceUuids(QBluetoothDeviceInfo::DataCompleteness *completeness = nullptr)
    

    should now work. But when I try the completeness is always = DataUnavailable. Despite this, it seems I can get services.

    Could you tell me if this behavior with serviceUuids is currently the right one ?
    And is there any workaround for the manufacturer Specific data issue ?

    PS : I am using MSVC 2017 with Qt 5.14 on Windows 10.

    Thank you for your time

    Edit : After some work I found out that for my peripheral device (PC software is my central), I was using the wrong advertising data. I needed to put my manufacturer data in the scan response data instead of the advertising data which are similar but one is for the server and the other is for the client basically. I edit to let you know.

    I must add that I still have the problem of data being always unavailable whatever I do. I even used the obsolete function. I didn't find nothing about this parameter. It does look like no one cares.

    1 Reply Last reply
    0

    1/1

    1 Apr 2020, 12:27

    • Login

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