-
Notifications
You must be signed in to change notification settings - Fork 132
Reconnecting to BLE sensor fails #68
Description
Basically, it appears that sometimes unregisterClient doesn't always actually unregister, and then when trying to connect again to the same address, service tries to deliver the callbacks to the old client rather than the new one.
01-19 14:44:20.156 D/BluetoothGatt: connect() - device: E0:75:43:BD:63:51, auto: false
01-19 14:44:20.156 D/BluetoothGatt: registerApp()
01-19 14:44:20.157 D/BluetoothGatt: registerApp() - UUID=9a7e9dec-4acb-401f-8383-fed60a45792c
01-19 14:44:20.158 D/BtGatt.GattService: registerClient() - UUID=9a7e9dec-4acb-401f-8383-fed60a45792c
01-19 14:44:20.158 D/BtGatt.GattService: onClientRegistered() - UUID=9a7e9dec-4acb-401f-8383-fed60a45792c, clientIf=2
01-19 14:44:20.159 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=2
01-19 14:44:20.159 D/BtGatt.GattService: clientConnect() - address=E0:75:43:BD:63:51, isDirect=true
01-19 14:44:20.159 I/SynthesisEngine: JSyn already stopped.
01-19 14:44:20.160 D/BtGatt.GattService: onConnected() - clientIf=1, connId=1, address=E0:75:43:BD:63:51
01-19 14:44:20.160 E/BtGatt.ContextMap: Context not found for ID 1