BLE "Could not get config descriptor" error
Posted: 06:48, 10 Jun 2016
Hi,
I've built an app using the Bluno Example on the Evothings Studio and it works great on iPhone viewer. However, I ran into issues trying to run the default bluno sample on two android tablets. Here is the steps to recreate the error
I used two new tablets, Amazon Fire HD 6" and RCA Voyager II.
Both running android 5 and support Bluetooth 4 with LE support (GattService is running). I couldn't install the Official Viewer on the RCA because it shows the app is not compatible and the app is not in the amazon store.
I downloaded the viewer version 1.4.0 from github, built it with cordova and installed it in both tablets via adb.
The app will connected to the bluno ble, but it fails when it tries to enable notification. The default app looks like it's working, but the error will be in the log and the app won't send or receive data.
I edited the BLE java to show all the descriptors using characteristic.getDescriptors() but it only returns "00002901-0000-1000-8000-00805f9b34fb" (not 0x2902)
After two days trying different approaches to get the app to work on the tablets, I ran out of ideas and don't know what else to do. If these tables do not support the BLE plugin, can you suggest a tablet so we can run further testing.
Thanks for you help with this matter and thanks for Evothings Studio and Viewer. They do make development a lot easier and faster.
I've built an app using the Bluno Example on the Evothings Studio and it works great on iPhone viewer. However, I ran into issues trying to run the default bluno sample on two android tablets. Here is the steps to recreate the error
I used two new tablets, Amazon Fire HD 6" and RCA Voyager II.
Both running android 5 and support Bluetooth 4 with LE support (GattService is running). I couldn't install the Official Viewer on the RCA because it shows the app is not compatible and the app is not in the amazon store.
I downloaded the viewer version 1.4.0 from github, built it with cordova and installed it in both tablets via adb.
The app will connected to the bluno ble, but it fails when it tries to enable notification. The default app looks like it's working, but the error will be in the log and the app won't send or receive data.
I edited the BLE java to show all the descriptors using characteristic.getDescriptors() but it only returns "00002901-0000-1000-8000-00805f9b34fb" (not 0x2902)
After two days trying different approaches to get the app to work on the tablets, I ran out of ideas and don't know what else to do. If these tables do not support the BLE plugin, can you suggest a tablet so we can run further testing.
Thanks for you help with this matter and thanks for Evothings Studio and Viewer. They do make development a lot easier and faster.