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

Thread-safe Android BT LE Java implementation

XMLWordPrintable

    • Android
    • 13
    • Team 1 Foundation_Sprint 47, Team 1 Foundation_Sprint 48

      The JNI calls from Qt/C++ to Java are typically executed in different thread than the Java-side callback functions.

      This means that there needs to be proper thread protection mechanisms in place on both Client and Server side.

      As an example the JNI disconnectServer() call might null the mGattServer variable while a callback using the mGattServer is in progress in another thread. This can lead to unpredictable runtime behaviors.

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

            vuokko Juha Vuolle
            vuokko Juha Vuolle
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: