Details
-
User Story
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
-
13
-
Foundation PM Prioritized
Description
According to Bluetooth Core specification having multiple primary services with same UUID is valid scenario.
By the looks of it QtBluetooth does not support it because it internally uses a QMap of "service UUID => service data" to store the local (peripheral) services. This means that if a service with same UUID is added, it'll replace the previous one and the previous one gets kind of unreachable. See https://code.qt.io/cgit/qt/qtconnectivity.git/tree/src/bluetooth/qlowenergycontrollerbase_p.h#n99
Attachments
Issue Links
- relates to
-
QTBUG-48254 It is impossible to distinguish services of the same UUID
- Open