Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLE devices disconnecting sporadically on Native #591

Open
Phoenix7351 opened this issue Oct 25, 2023 · 1 comment
Open

BLE devices disconnecting sporadically on Native #591

Phoenix7351 opened this issue Oct 25, 2023 · 1 comment

Comments

@Phoenix7351
Copy link
Contributor

Logging shows:

API MISUSE: Cancelling connection for unused peripheral <CBPeripheral: 0x2816bc4e0, identifier = 23584B66-2C3C-09F2-CF3F-BC60BDA79D4B, name = JUUL2 QDA0N0U4, mtu = 23, state = connecting>, Did you forget to keep a reference to it?

This error comes from CoreBluetooth.

Haven't found much rhyme or reason for when it happens yet, but when it does the device will not reconnect--even on subsequent relaunches of the consuming app.

@Phoenix7351
Copy link
Contributor Author

Phoenix7351 commented Oct 25, 2023

Just got more misuse logs. Now one for powered on state:

API MISUSE: Cancelling connection for unused peripheral <CBPeripheral: 0x2827fd5f0, identifier = 23584B66-2C3C-09F2-CF3F-BC60BDA79D4B, name = JUUL2 QDA0N0U4, mtu = 23, state = connecting>, Did you forget to keep a reference to it?

API MISUSE: <CBCentralManager: 0x282dff480> can only accept this command while in the powered on state

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

No branches or pull requests

1 participant