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

[Help]: connect without scan option not working after 1.21.0 #660

Closed
1 task done
keskink opened this issue Nov 7, 2023 · 8 comments
Closed
1 task done

[Help]: connect without scan option not working after 1.21.0 #660

keskink opened this issue Nov 7, 2023 · 8 comments
Labels
help Questions, help, observations, or possible bugs

Comments

@keskink
Copy link

keskink commented Nov 7, 2023

Requirements

  • I've looked at the README 'Common Problems' section

Have you checked this problem on the example app?

Yes

FlutterBluePlus Version

1.21.0

Flutter Version

3.13.9

What OS?

iOS

OS Version

iOS 16.6.1

Bluetooth Module

ti 2460

What is your problem?

connect w/o scan option not working after 1.21.0 version.
1.20.8 working.

Logs

n/a
@keskink keskink added the bug Something isn't working label Nov 7, 2023
@chipweinberger
Copy link
Collaborator

chipweinberger commented Nov 7, 2023

Can you debug this further and give more details?

Logs?

What happens exactly? a timeout?

@keskink
Copy link
Author

keskink commented Nov 7, 2023

flutter: ********** fxWS connecting / 8F074E79-2598-D869-BC37-6095C35DCAFC
[FBP-iOS] handleMethodCall: connect
[FBP-iOS] handleMethodCall: disconnect
[FBP-iOS] disconnect: canceling connection in progress
[FBP-iOS] didDisconnectPeripheral
flutter: -----------Device State---------WinkelStick 8F074E79-2598-D869-BC37-6095C35DCAFC BluetoothConnectionState.disconnected

bold lines are my remarks.
trying to connect then going to disconnect after wait aprox. 20sec.

sometimes connecting after long wait.

@chipweinberger
Copy link
Collaborator

chipweinberger commented Nov 7, 2023

what connection timeout are you using? you should be using 35s typically.

I assume you're hitting a connection timeout exception?

@chipweinberger
Copy link
Collaborator

btw, those logs mean you are using 1.26.1 or later, not 1.21.0.

@keskink
Copy link
Author

keskink commented Nov 7, 2023

log from 1.26.4,
I don't sent timeout parameter, it is default.
All ok at 1.20.8

@chipweinberger
Copy link
Collaborator

if you figure it out lmk!

I have not hit this issue.

@chipweinberger
Copy link
Collaborator

any progress?

@chipweinberger
Copy link
Collaborator

im going to assume you fixed this. feel free to reopen.

@chipweinberger chipweinberger changed the title [Bug]: connect without scan option not working after 1.21.0 [Help]: connect without scan option not working after 1.21.0 Jan 4, 2024
@chipweinberger chipweinberger added help Questions, help, observations, or possible bugs and removed bug Something isn't working labels Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help Questions, help, observations, or possible bugs
Projects
None yet
Development

No branches or pull requests

2 participants