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

修改建议 #7

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

修改建议 #7

wants to merge 5 commits into from

Conversation

DarkGodOne
Copy link
Contributor

No description provided.

这里判断是否连接成功使用IsConnectionOpen()方法更准确,因为在断线重连状态IsConnected()也会返回true,但是当断线状态调用BatchReportSubDevicesProperties()会造成阻塞,且无法恢复
设置重连间隔时间10s,否则重连时间过长,导致消息丢失
@@ -1,4 +1,4 @@
module github.com/ctlove0523/huaweicloud-iot-device-sdk-go
module github.com/DarkGodOne/huaweicloud-iot-device-sdk-go
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be changed.

@@ -1,2 +1,2 @@
author = chen tong
sdk-version = v1.0.0
author = chen tong,changed by darkgod
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

author = chen tong, darkgod

author = chen tong
sdk-version = v1.0.0
author = chen tong,changed by darkgod
sdk-version = v1.0.0-patch
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can merge code to main branch

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

Successfully merging this pull request may close these issues.

2 participants