Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Bluetooth Low Energy Notification not working on Android
QtWS25 Last Chance

Qt Bluetooth Low Energy Notification not working on Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
andriodblebluetooth low ecross compile
1 Posts 1 Posters 280 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.
  • N Offline
    N Offline
    Nishantdawn
    wrote on last edited by Nishantdawn
    #1

    I have created an application for the Android device (arm64-v8a) to communicate with theBLE Device.
    After a successful connection, all BLE services and characteristics are found, However, the characteristic descriptors for Notify (QBluetoothUuid::ClientCharacteristicConfiguration) are invalid.
    When this invalid characteristic descriptor is found, enabling the Notification for that particular characteristic is not possible and BLE communication is broken.
    I have tested this with Qt5.15.3 and Qt6.5.3 and the observation is the same.
    I have found some related post where a workaround is suggested to force LE version BLUETOOTH_FORCE_DBUS_LE_VERSION=5.41 for Raspberry Pi. But for Android devices, this is not possible.

    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