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

Android BTLE does not negotiate the required MTU

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9.1
    • Fix Version/s: 5.9.2
    • Labels:
      None

      Description

      Some BTLE peripherals seem to send larger MTU's than the standard 23 bytes. Android does not seem to automatically negotiate the MTU value when connecting. This lead to cases where a received packet is truncated at 23 bytes because the peripheral sends more than 23 bytes.

       

      BluetoothGatt.requestMtu() should be used to initiate the MTU negotiation. This function requires Android API v21.

        Attachments

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

          Activity

            People

            • Assignee:
              ablasche Alex Blasche
              Reporter:
              ablasche Alex Blasche
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes