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

写数据的时候,会成功很多次 #13

Open
cwfzc opened this issue Oct 26, 2016 · 2 comments
Open

写数据的时候,会成功很多次 #13

cwfzc opened this issue Oct 26, 2016 · 2 comments

Comments

@cwfzc
Copy link

cwfzc commented Oct 26, 2016

writeCharacteristic 这个发送成功以后,public void onSuccess(final BluetoothGattCharacteristic characteristic) 这个方法会执行好多次,打印的都是我发送的数据。
发送一次打印一次,发第二次的时候,会打印两次,发几次,打印几次

@jessieeeee
Copy link

与楼上遇到同样的问题,我是自己加了标识位做判断的

@zengqingf
Copy link

遇到同样的问题,看了一下主要是之前的callback没有移除导致的,希望作者改进吧

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