Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.2.0 FF
-
None
-
-
21
-
Qt6_Foundation_Sprint 35
Description
If I call
advertisingData.setLocalName("BluetoothTestDevice");
before advertising in
https://codereview.qt-project.org/c/qt/qtconnectivity/+/347091/7
it fails to start advertising with
W QtBluetoothGattServer: Services successfully added: true D BluetoothGattServer: onServiceAdded() - service=1f85e37c-ac16-11eb-ae5c-93d3a763feedstatus=0 D libbluetoothtestdevice_armeabi-v7a.so: qt.bluetooth: QLowEnergyControllerPrivate setting state to QLowEnergyController::AdvertisingState W QtBluetoothGattServer: Starting to advertise. E QtBluetoothGattServer: Advertising failure: 1 D libbluetoothtestdevice_armeabi-v7a.so: qt.bluetooth: QLowEnergyControllerPrivate setting state to QLowEnergyController::UnconnectedState
If we remove the setLocalName call, it works.