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 蓝牙出现notifyBLECharacteristicValueChange()后在进行蓝牙操作出现断连 #4900

Open
QwQuan opened this issue May 11, 2024 · 0 comments

Comments

@QwQuan
Copy link

QwQuan commented May 11, 2024

问题描述

调用uni.notifyBLECharacteristicValueChange(OBJECT)大约1-10分钟不等后,调用蓝牙操作(writeBLECharacteristicValue(OBJECT), uni.notifyBLECharacteristicValueChange(OBJECT))没有马上进行回调,几秒后回调返回【10002 | no device】,然后蓝牙断开连接。

notifyBLECharacteristicValueChange后数据频率大约是每秒 30-80次回调

目前在iPhone15 pro(17.4.1)上稳定复现,iPhone11(17.4.1) 无该问题。

预期结果

notifyBLECharacteristicValueChange后能正常调用其他蓝牙操作

实际结果

notifyBLECharacteristicValueChange后调用其他蓝牙操作出现断连

发行平台:

[iOS ]

操作系统

[windows, macOS]

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

1 participant