BluetoothLeGatt doesn't connect on Samsung
2015-10-08 10:31:04 GMT
On Samsung Age Plus (API Level 22), the official sample BluetoothLeGatt can't connect to a customized Bluetooth device that requires encrypted handshake, while some other devices such as `HTC One M7 API Level 21` and `Huawei Mate 7 API Level 19` are fine.
These two lines from logcat might be useful:
`onClientConnectionState() - status=34 clientIf=6 device=FC:58:FA:A1:11:A9`
`onClientConnectionState() - status=133 clientIf=6 device=FC:58:FA:A1:11:A9`
# 0x22H is 34D, 0085H is 133D
return "GATT CONN LMP TIMEOUT";
return "GATT ERROR";
Have been Googling for a long time but still have no clue, any idea is welcome.
More detailed log: http://dpaste.com/02F7MN8
Please let me know if more information is required.
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> googlegroups.com
For more options, visit this group at
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 android-developers+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.