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

Bluetooth LE service data is trunctated at zero value

    XMLWordPrintable

Details

    • Windows
    • 7718d0faa (dev), b68293e33 (6.8)

    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

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

        Activity

          People

            kiibimees Lauri Laanmets
            kiibimees Lauri Laanmets
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change