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

    XMLWordPrintable

    Details

    • 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:
      None
    • 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:
      Windows

      Description

      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.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              owolff Oliver Wolff
              Reporter:
              sfeutrier Simon Feutrier
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes