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

How I can set auto connect flag true? #13

Open
PawanGhewande opened this issue Apr 13, 2022 · 1 comment
Open

How I can set auto connect flag true? #13

PawanGhewande opened this issue Apr 13, 2022 · 1 comment

Comments

@PawanGhewande
Copy link

Log :
connect() - device: CD:6C:1C:F6:FD:3F, auto: false

when auto is true you can listen to state if BLE device, then how I can set auto true in such condition.
Connect function does not provide any param for auto true/false.
See Here:

Device device = scanedDevice.connect(connectTimeout: 18000);

@pineappleoOilPrince
Copy link
Owner

if you set auto connect flag in android,will be difficult to connect device and auto reconnect when disconnect.So in order to same,i don't give this param.

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

2 participants