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

write no response 为什么还会收到write回调? #551

Open
anduin1024 opened this issue Aug 25, 2022 · 3 comments
Open

write no response 为什么还会收到write回调? #551

anduin1024 opened this issue Aug 25, 2022 · 3 comments

Comments

@anduin1024
Copy link

特征值setWriteType noResponse,根据蓝牙协议栈定义,理论上没有写入成功与否响应,但是write回调接口还是会调用,不是很理解问题出在哪里?

@philadelphia
Copy link

我也一直有这个疑问,write_no_response 和write的区别体现不出来啊

@wangjinchan
Copy link

wangjinchan commented Jun 16, 2023

我解决了 #574

@fateice
Copy link

fateice commented Aug 25, 2023

write no response的时候,产生的回调只是说明这一次写操作已经处理完了(不确定是host发到controller,还是controller发出去了,大概率是前者)。如果有大量数据要写,可以用这个来控制发送的节奏

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

4 participants