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

autoconnect #24

Closed
YuHsiang0120 opened this issue Jan 18, 2024 · 2 comments
Closed

autoconnect #24

YuHsiang0120 opened this issue Jan 18, 2024 · 2 comments

Comments

@YuHsiang0120
Copy link

要使用autoconnect是否需要先和裝置配對
以及 非主動斷開自動連接的非主動 是建立在什麼樣的情況

@lipengdeGit
Copy link

ble 设备 不需要配对 扫描到 点连接 就能直接连上

@buhuiming
Copy link
Owner

不推荐使用autoconnect,autoconnect没能区别手动断开,建议自行添加重连机制;
主动断开指的是调用了disConnect()方法;非主动断开包含:设备断电或关机、设备超出距离等

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

3 participants