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. Strange Error in qtandroid BLE Example (LowEnergyScanner)
Forum Updated to NodeBB v4.3 + New Features

Strange Error in qtandroid BLE Example (LowEnergyScanner)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt5.5.1androidblebluetooth low e
1 Posts 1 Posters 797 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.
  • raosaifR Offline
    raosaifR Offline
    raosaif
    wrote on last edited by
    #1

    I am making one app in which i am using Bluetooth Low Energy (BLE) device. Before starting my own app, i tried to use provided examples and compiled LowenergyScanner.
    Lowenergyscanner flow is as follows,

    Scanning->AvaiableServices(Respective Device)->Characteristics(Respective Service).
    My device is listed in the available device and when i am clicking on it, it is showing me the all the services available, now here when i am clicking on a specific service to see the characteristics details, it is giving me error

    D/QtBluetoothGatt(5043): non-readable characteristics 0000fff4-0000-1000-8000-00805f9b34fb for service 0000fff0-0000-1000-8000-00805f9b34fb
    
    W/QtBluetoothGatt (5043): onCharacteristicRead error: 5
    

    I know this error is coming because the ReadCharacterisitcs didn't get the permission but when i am clicking the back button and again pressing the service to see the respective characteristics it is working perfectly.

    At first step it is giving me error but going back and clicking again giving me the available characteristics.
    

    It will be helpful if anyone can guide me in right direction.

    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