Strange Error in qtandroid BLE Example (LowEnergyScanner)
-
wrote on 30 May 2016, 09:06 last edited by
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 errorD/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/1