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

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

XMLWordPrintable

    • Android
    • 4f3b347ac71491db7da246b728aaaf7e0c13af58 (qt/qtconnectivity/dev)

      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)

       

        For Gerrit Dashboard: QTBUG-79966
        # Subject Branch Project Status CR V

            ablasche Alex Blasche
            szb Botond Szabo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes