How to make Android BLE connect to Bluez Peripheral? (Connection issues)

徘徊边缘 提交于 2019-12-09 07:42:27

Did you get luck to solve this problem? I think connection parameters ( not possible from userspace bluez so far) if configured, should be able to solve the problem. I could see with bluez, android app disconnects immediately when making connection with GATT.

I am having a similar problem. Here is the progress I've made

Make sure Android is configured to connect only in BLE mode:

mBluetoothGatt = device.connectGatt(this, false, mGattCallback, TRANSPORT_LE);

Try connecting from a non-Android device first (this is the part I'm stuck on)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!