检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
to the platform, upload the device information to bind the device or gateway to the platform.
to the platform, upload the device information to bind the device or gateway to the platform.
Number of Child Devices Under a Gateway Reaching the Threshold This alarm is generated when the number of child devices under a gateway reaches 80% or 100% of the threshold.
The edge gateway reports data to the IoTDA through MQTT. IoTDA can directly push data to customers' applications and allow applications to deliver commands to control the start and stop of the charging.
device demo is recommended if you connect devices directly to the IoT platform, whereas bootstrap_demo is recommended if you want to integrate the bootstrap function. gateway demo will be a better choice if you connect devices to the platform through common gateways or gateways that
Table 16 ForwardingInfo Parameter Type Description eip String Parameter description: EIP bound to the NAT gateway. enable_snat Boolean Parameter description: whether to enable the SNAT configuration.
Establishing a Connection To connect a device or gateway to the platform, upload the device information to bind the device or gateway to the platform. The FrmMqttDemo class provides methods for establishing MQTT or MQTTS connections.
Modify a Device Gateway This API is used by an application to switch the current gateway of the device to a specified device. Query Device List Flexibly This API is used by an application to query a desired device list using SQL statements.
Max. child devices of which properties can be reported by a gateway at a time: 100.
In gateway scenarios, the value of device_id is the child device ID unless otherwise specified. Concepts Account An account is created upon successful registration with Huawei Cloud. The account has full access permissions for all of its cloud services and resources.
Replace device_id with the actual gateway ID of the device. If you specify the topic, messages are delivered to the device through this topic. If you do not specify the topic, messages are delivered to the device through the default topic.
reporting √ √ √ √ √ √ √ √ Message reporting and delivery √ √ √ √ √ √ √ √ Event reporting and delivery √ √ √ √ √ √ √ × Command delivery and response √ √ √ √ √ √ √ √ Device shadow √ √ √ √ √ √ √ √ OTA upgrade √ √ √ √ √ √ √ × Bootstrap √ √ √ √ √ √ √ × Time synchronization √ √ √ √ √ √ √ × Gateway