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

docs: fix grammar mistake in README #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ Devices report property data in the format defined in the product model to the p
service_property = ServiceProperty()
service_property.service_id = 'smokeDetector'
service_property.properties = {'alarm': 10, 'smokeConcentration': 36, 'temperature': 64, 'humidity': 32}
services = [service_property.to_dict()]
services = [service_property]

while True:
device.get_client().report_properties(services, DefaultPublishActionListener())
Expand Down Expand Up @@ -1115,4 +1115,4 @@ connect_auth_info.max_buffer_message = 100
Refer to [Device Access Interface Documentation](./IoT-Device-SDK-Python-API Documentation.pdf)

# 7.0 More documentation
Refer to [Device Access More Documentation](https://support.huaweicloud.com/devg-iothub/iot_02_0178.html)
Refer to [Device Access More Documentation](https://support.huaweicloud.com/devg-iothub/iot_02_0178.html)
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def run():
service_property = ServiceProperty()
service_property.service_id = 'smokeDetector'
service_property.properties = {'alarm': 10, 'smokeConcentration': 36, 'temperature': 64, 'humidity': 32}
services = [service_property.to_dict()]
services = [service_property]

while True:
device.get_client().report_properties(services, DefaultPublishActionListener())
Expand Down Expand Up @@ -1114,4 +1114,4 @@ connect_auth_info.max_buffer_message = 100
参考[设备接入接口文档](./IoT-Device-SDK-Python-API文档.pdf)

# 7.0更多文档
参考[设备接入更多文档](https://support.huaweicloud.com/devg-iothub/iot_02_0178.html)
参考[设备接入更多文档](https://support.huaweicloud.com/devg-iothub/iot_02_0178.html)