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

BleWriteRequest中startWrite的问题 #166

Open
HeLiHuang opened this issue Nov 21, 2021 · 0 comments
Open

BleWriteRequest中startWrite的问题 #166

HeLiHuang opened this issue Nov 21, 2021 · 0 comments

Comments

@HeLiHuang
Copy link

private void startWrite() {
if (!writeCharacteristic(mServiceUUID, mCharacterUUID, mBytes)) {
onRequestCompleted(Code.REQUEST_FAILED);
} else {
startRequestTiming();
}
}

写数据成功后为什么要调用startRequestTiming?不解 ,startRequestTiming不是closeGatt的作用吗?为什么写成功后要调用它

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