Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.7.0, 5.7.1
-
None
-
-
f9e85fb10a0560563e3106c4e8f6e269ece67659
Description
Currently a device scan returns the name the ble stack thinks is the best name for a device. This name is cached and may change after a first connection has made to the device. From a developer point of view this name is not predictable.
So my suggestion is to return the advertised name if found in the advertised data, if not fall back to the name the ble stack gives.
Until the scanning api has been fixed (returns either a dictionary or the raw bytes of the advertised data) this is the best way to handle devices names
Attachments
For Gerrit Dashboard: QTBUG-58080 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182276,2 | BTLE - prefer advertised name (CoreBluetooth) | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |