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

关于这个库设置Service UUID之后打开通知不会收到消息的问题! #111

Open
JsonCooler opened this issue Apr 12, 2023 · 1 comment

Comments

@JsonCooler
Copy link

接入该库两天,发现初始化Ble的时候不管设不设置notify uuid都收不到通知,然后尝试了demo发现demo都会收到通知,然后把demo的moudle拿了过来发现也能收到通知了,最后对比了远程库和module的代码,发现类BleRequestImpl 去掉了一个变量notifyIndex,作者deomo中的moudle是把这个变量注销的,然后远程依赖库还存在导致方法setCharacteristicNotification 会对这个变量进行判断,
39}(~D1@GK3(5Z9_%K4ZU6N
所以我这边远程库运行会导致要么不会打开通知 或者只打开第一个特征uuid通知。

所以这里希望作者把库重新上传一下,不然后面的人还是会遇到同样的情况,如果遇到该情况,只能使用作者demo的 moudle。

@androidHRTZ
Copy link

我中招了!!!! 花了很多时间,就是这个问题。。。。。。。。。。。。求求作者更新吧

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