Hi I have a similar scenario. The app works on tablets and on the Asus Flip "onServicesDiscovered" is not being called ... I'm wondering about posting a question in the chromebook developer forum ...
On Wednesday, February 1, 2017 at 4:44:53 AM UTC, [email protected] wrote: > > I have an Android app which interacts with custom BLE devices. > > I installed this app on my Google Asus Flip Chromebook(Chrome OS version > 55, ARC version 3617689) by sideloading the APK onto it. But it is not > working as expected. > > > These are the steps I took: > > > 1. Call a startLeScan() which gives the BluetoothDevice as a scanResult. > > 2. Call the connectGatt() method, and the device is connected and in the > onConnectionStateChange() callback, get a handle to the BluetoothGatt. > > 3. Call the discoverServices. > > 4. After that, the onServicesDiscovered() callback is hit as expected with > status = GATT_SUCCESS However gatt.getServices returns an empty list when > running on Chromebook. When running on Android device (API 19 to API23) I > get BluetoothGattService handles to all the services supported by my BLE > device. > > > Which leads me to suspect the BLE implementation on ARC on Chromebook. > > Has anybody else faced this issue? Is anyone using Android BLE APIs on > Chrome OS? > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/362f34ac-6b7a-420d-8918-b3d5c3f1adc1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

