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

关于搜索广播方式自动重连存在问题反馈 #37

Open
coolBreezes opened this issue Sep 26, 2023 · 5 comments
Open

关于搜索广播方式自动重连存在问题反馈 #37

coolBreezes opened this issue Sep 26, 2023 · 5 comments

Comments

@coolBreezes
Copy link

coolBreezes commented Sep 26, 2023

1、搜索广播尝试重连时,在 doDisconnect 中 搜索广播的方式中,没有对tryReconnectCount 标志位做自增;
2、同一台主机连多台从设备,多台设备搜索广播 开始和停止会相互冲突
3、如果设置了搜索广播重连次数上限,达到上限后,没有执行stopScan 停止搜索广播,并且多Connection重连情况下,停止搜索广播又会相互冲突

@wandersnail
Copy link
Owner

第一个问题已修复。第二个和第三个这个没办法,搜索器只有一个,全局通用的,不是每个连接一个。有的蓝牙模块不能在连接同时搜索,因此开始连接就停止搜索了,我增加了可配置是否停止。

@ylmyg
Copy link

ylmyg commented Sep 27, 2023

请问下 为什么在三星的手机上就是搜索不到广播 我这边做了很多处理 包括权限已经全部打开 扫描结束得不到任何结果

@ylmyg
Copy link

ylmyg commented Sep 27, 2023

@coolBreezes @wandersnail

@wandersnail
Copy link
Owner

请问下 为什么在三星的手机上就是搜索不到广播 我这边做了很多处理 包括权限已经全部打开 扫描结束得不到任何结果

没有三星手机,测不了

@ylmyg
Copy link

ylmyg commented Sep 28, 2023

@wandersnail 请问一下,应用市场上的Ble调试宝是可以搜索到的,但是demo就是不行,请问里面有什么差别么?

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