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

QBluetoothDeviceInfo should offer access to all fields received in the scanRecord / Android

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Android

      Description

      Currently BLE scan seems to parse only a subset of the fields received during adertising:

      The list of fields considered is in the ADType enum ()

      /* Advertising Data Type (AD type) for LE scan records, as defined in Bluetooth CSS v6. */
      enum ADType

      { ADType16BitUuidIncomplete = 0x02, ADType16BitUuidComplete = 0x03, ADType32BitUuidIncomplete = 0x04, ADType32BitUuidComplete = 0x05, ADType128BitUuidIncomplete = 0x06, ADType128BitUuidComplete = 0x07, ADTypeManufacturerSpecificData = 0xff, // .. more will be added when required }

      ;

      One of the items that probably should be added is

      type = 0x09 = Complete Local Name , that is the local name of the device.

      Also it would be nice if the list would be somehow extensible (so that clients could set the list of fields they're interested in,  not sure if this is possible)

       

        Attachments

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

          Activity

            People

            • Assignee:
              ablasche Alex Blasche
              Reporter:
              szb Botond Szabo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes