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/b66f4351-de4d-4ce5-85b6-058163e9aebd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to