Hello everyone, 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` >From https://github.com/rosterloh/AndroidBuddi/blob/c8e09068b4cdddfefcfad35eb1c1c3538aa81f3d/BlueBand/src/main/java/com/buddi/client/ble/error/GattError.java: # 0x22H is 34D, 0085H is 133D ``` case 0x22: return "GATT CONN LMP TIMEOUT"; ... case 0x0085: 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. Thanks, Wenshan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- 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]. For more options, visit https://groups.google.com/d/optout.

