Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Change the BLE MTU
Forum Updated to NodeBB v4.3 + New Features

Change the BLE MTU

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark81
    wrote on last edited by
    #1

    Hi! Is there a way to change the default MTU for a Bluetooth Low Energy GATT server?

    E 1 Reply Last reply
    1
    • M Mark81

      Hi! Is there a way to change the default MTU for a Bluetooth Low Energy GATT server?

      E Offline
      E Offline
      EngElectronic
      wrote on last edited by EngElectronic
      #2

      @Mark81 said in Change the BLE MTU:

      Hi! Is there a way to change the default MTU for a Bluetooth Low Energy GATT server?

      I have same question. My application is based on HeartRate example, and every time app starts, it tries to configure the MTU to 512, but is not possible and it goes to 23, as you can see bellow. I think the reason is the maximum MTU of my device is 247 (EFR32BG22 Silicon Labs). I don't find a way to change the default value of 512 that the HeartRate example imposes, so I need help.

      D BluetoothGatt: connect() - device: 50:32:5F:CC:3D:3F, auto: false
      D BluetoothGatt: registerApp()
      D BluetoothGatt: registerApp() - UUID=77a9d5a3-9f10-42bb-8156-04653f2468ad
      W QtBluetoothGatt: Using Android v26 BluetoothDevice.connectGatt()
      D BluetoothGatt: onClientRegistered() - status=0 clientIf=9
      D BluetoothGatt: onClientConnectionState() - status=0 clientIf=9 device=50:32:5F:CC:3D:3F
      D BluetoothGatt: discoverServices() - device: 50:32:5F:CC:3D:3F
      D BluetoothGatt: onConnectionUpdated() - Device=50:32:5F:CC:3D:3F interval=6 latency=0 timeout=500 status=0
      D BluetoothGatt: onSearchComplete() = Device=50:32:5F:CC:3D:3F Status=0
      D BluetoothGatt: configureMTU() - device: 50:32:5F:CC:3D:3F mtu: 512
      W QtBluetoothGatt: MTU change initiated
      D BluetoothGatt: readRssi() - device: 50:32:5F:CC:3D:3F
      D QtBluetoothGatt: RSSI read initiated
      D QtBluetoothGatt: RSSI read callback, rssi: -56, status: 0
      W QtBluetoothGatt: Late RSSI read reply after timeout was hit
      D BluetoothGatt: onConfigureMTU() - Device=50:32:5F:CC:3D:3F mtu=23 status=0
      W QtBluetoothGatt: MTU changed to 23
      W QtBluetoothGatt: Performing queued job, handle: 19 Read (false) ValueKnown: false Skipping: false Characteristic
      D BluetoothGatt: onConnectionUpdated() - Device=50:32:5F:CC:3D:3F interval=36 latency=0 timeout=500 status=0
      W QtBluetoothGatt: Performing queued job, handle: 20 Read (false) ValueKnown: false Skipping: true CharacteristicValue
      W QtBluetoothGatt: Performing queued job, handle: 21 Read (false) ValueKnown: false Skipping: false Descriptor
      W QtBluetoothGatt: Finished current discovery for service handle 18

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved