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

Bluetooth LE : read or write in characteristic with security enable fail and randomy crash in step by step



    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.2, 5.15.0, 5.15.1
    • Fix Version/s: None
    • Labels:
    • Environment:
      I'm developing under Qt Creator on Windows 10 (last release)
      The remote device is a embedded system developped with a chip from u-blox (this is not a Qt code)
    • Platform/s:


      When I enable security mode "Just Work" in my remote device, the Qt app on Windows in no longer able to read or write in my service.
      The problem is only for "my" custom service (it is working when I try to read in services Generic Access, Generic Attribute and Device Information).
      I have the same behaviour with the example app called "low energy scanner".

      When not using Qt and using the android app nrf connect instead, this works. It also works if I use the Bluetooth LE Explorer Windows app.
      It seems Qt app never sent the bonding request while nrf connect does.

      Note : the service I'm using is defined as Unknow Service by the example app. Moreover this service is the Serial Port Service designed by u-blox compagny if this information can be relevant.

      Looking deeper in debug step by step, I saw that app periodically crashes and discover I get the same message as this ticket https://bugreports.qt.io/browse/QTBUG-74758 which is closed. I think both issues are ble security related but not sure.


          Issue Links

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



              owolff Oliver Wolff
              sfeutrier Simon Feutrier
              1 Vote for this issue
              4 Start watching this issue



                  Gerrit Reviews

                  There are no open Gerrit changes