This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

At Android 7, Bluetooth is sometimes not connected

When we develop Bluetooth products, we find that in Android 6 APP, Bluetooth devices can connect normally, but at Android 7 or above, sometimes it doesn't connect to Bluetooth. Is this related to your SDK? Now I use SDK10.0.

Parents
  • When a Bluetooth device is scanned, APP implement “BluetoothGatt gatt=device.connectGatt(this, false, mGattCallback);” device can't connect for a long time.And after a long time, “ mGattCallback” return to the device to disconnect。This happens only on Android 7, and not every time.I want to confirm whether this version of my SDK(S10.0) is relevant.

Reply
  • When a Bluetooth device is scanned, APP implement “BluetoothGatt gatt=device.connectGatt(this, false, mGattCallback);” device can't connect for a long time.And after a long time, “ mGattCallback” return to the device to disconnect。This happens only on Android 7, and not every time.I want to confirm whether this version of my SDK(S10.0) is relevant.

Children
Related