Forum Libraries, Components, and Plugins

BLE Plug in Android 9 - Samsung Vs Nokia/Huawei - Lower driver issue

We have been developing an Xamarin mobile app and it's been very stable, recently we have been testing on Nokia/Huawei phones and we cannot bond to the phone via the application or within the phone Bluetooth menu settings. Using the same mobile app we able to successful bond using a Samsung phone, so odd it's it works on one brand of phone and not another.

We have reverted to using this test mobile application "bluettoothle" and still having the same problems, we are sure it's an issue within the low level driver but cannot work out my it works for a Samsung phone and not a Nokia/Huawei phone. To make the situation even more confusing, we have an old tablet using API 27 and that bonds to our module without any problems.

I have noticed some issues on the debug log and was I was wondering if any one had experienced a similar problem using these phones and any potential solutions?

Debug messages

Warning (1113) / BroadcastQueue: Background execution not allowed: receiving Intent { act=android.bluetooth.device.action.BOND_STATE_CHANGED flg=0x10 (has extras) } to
com.google.android.googlequicksearchbox/com.google.android.apps.gsa.broadcastreceiver.external.ExternalCommonBroadcastReceiver
Warning (1113) / ActivityManager: Sending non-protected broadcast com.huawei.android.bluetooth.gatt.action.BLE_CONNECTION_STATE_CHANGED from system 2780:com.android.bluetooth/1002 pkg com.android.bluetooth
Info (2780) / bt_btif bt interface: get_connection_state bd_addr=6a:ed:de:::**
Error (2780) / bt_stack: [ERROR:bta_gattc_act.cc(209)] bta_gattc_deregister: Deregister Failed unknown client cif
Error (2780) / bt_stack: [ERROR:bta_gattc_act.cc(209)] bta_gattc_deregister: Deregister Failed unknown client cif

Sign In or Register to comment.