We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.net version 1.2.1 Android API 28
I have this piece of code. I prepare a cancellation token of 3000ms, then I start the connection to a known device in another thread. I've found that:
this.connectToken = new CancellationTokenSource(3000); this.connectionTask = Task.Run(async () => { try { var connection = await this.ble.ConnectToDevice( new Guid(d.Address), connectToken.Token ); if (connection.IsSuccessful()) // <--- not reaching this! {
The text was updated successfully, but these errors were encountered:
I see that after 3 seconds this line appears: 06-09 21:55:02.130 D/BluetoothGatt(19579): cancelOpen() - device: 00:13:AA:00:7F:91
06-09 21:55:02.130 D/BluetoothGatt(19579): cancelOpen() - device: 00:13:AA:00:7F:91
But nothing else and the code keeps stuck at ConnectToDevice()
Sorry, something went wrong.
I'm having the same problem. It seems to be working on iOS, but not on Android. Have you managed to get it working?
No branches or pull requests
Ble.net version 1.2.1
Android API 28
I have this piece of code. I prepare a cancellation token of 3000ms, then I start the connection to a known device in another thread. I've found that:
The text was updated successfully, but these errors were encountered: