Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Reconnecting to BLE sensor fails #68

Open
google-admin opened this issue Jun 8, 2020 · 0 comments
Open

Reconnecting to BLE sensor fails #68

google-admin opened this issue Jun 8, 2020 · 0 comments

Comments

@google-admin
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant