I am working with custom devices and I am struggling to manage the Bluetooth LE correctly.
My only concern is not getting 0 (
8: 0x08 = GATT CONN TIMEOUT
19: 0x13 = GATT CONN TERMINATE PEER USER
133: 0x85 = GATT_ERROR
Answer is no.
I wasn't getting
BluetoothGatt.GATT_SUCCESS because the connection was closed by the other end. If
gatt.disconnect() is executed I read
status = BluetoothGatt.GATT_SUCCESS.