检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Why Does a Child Device Added Through the Gateway Not Belong to Any Product? When a child device is added by calling an AgentLite API, the device information carried in the request must be consistent with the product model defined on the IoT platform for the child device.
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.
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.
To connect a device or gateway to the platform, upload the device information to bind the device or gateway to the platform. Click Connect. If the domain name, device ID, and secret are correct, a device connection success is displayed in the log.
Gateway development The IoT Device SDK is pre-integrated into the CPU or MPU and can call functions to connect to the platform. Child devices connected to the platform using gateways.
Table 10 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. Options: true false Example Requests Querying an instance.
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
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.
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.
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.
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.