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

Bluetooth LE service data is trunctated at zero value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.3, 6.4, 6.5, 6.6, 6.7
    • None
    • Windows

    Description

      It seems that there is a small mistake in WinRT implementation:

      const QByteArray bufferData;
      bufferData + 16 <--
      

      QByteArray doesn't have +int operator. I might be wrong but perhaps it falls back to "inline operator const char () const;" or "[]" or something. Anyway, it seems to end in char*, because array is terminated if service data contains zero byte.

      I will submit a patch.

      Attachments

        For Gerrit Dashboard: QTBUG-124130
        # Subject Branch Project Status CR V

        Activity

          People

            ablasche Alex Blasche
            kiibimees Lauri Laanmets
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change