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

IOS isNoResponse 没生效 #4

Closed
xuyongfh opened this issue Dec 10, 2021 · 1 comment
Closed

IOS isNoResponse 没生效 #4

xuyongfh opened this issue Dec 10, 2021 · 1 comment

Comments

@xuyongfh
Copy link

xuyongfh commented Dec 10, 2021

IOS中isNoResponse没生效,这里改成isNoResponse? CBCharacteristicWriteWithoutResponse:CBCharacteristicWriteWithResponse
就可以了。
[self.peripheral writeValue:data forCharacteristic:characteristic type:isNoResponse? CBCharacteristicWriteWithResponse:CBCharacteristicWriteWithResponse];

感谢提供插件。刚从其他插件转过来

@pineappleoOilPrince
Copy link
Owner

谢谢提醒,是我疏忽了,下一版会修改

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