检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
IoT Device C SDK for Linux/Windows The IoT Device C SDK for Linux/Windows provides abundant demo code for devices to communicate with the platform and implement device, gateway, and Over-The-Air (OTA) services.
IoT Device C SDK for Linux/Windows The IoT Device C SDK for Linux/Windows provides abundant demo code for devices to communicate with the platform and implement device, gateway, and Over-The-Air (OTA) services.
For details about the relationship between a gateway and its child devices, see Gateway and Child Devices.
The gateway deletes the device upon receiving the command. 8. The gateway calls the API described in Gateway Requesting for Deleting Child Devices.
If the gateway reports the child device as offline, it no longer serves as the proxy gateway and cannot forward data for the child device. The device can report data only through the latest gateway (the proxy gateway in this case).
For details about the relationship between a gateway and its child devices, see Gateway and Child Devices.
For details about the relationship between a gateway and its child devices, see Gateway and Child Devices.
Example Scenario An enterprise has a batch of gateways under a gateway product. About 400 child devices are mounted to a gateway. Administrators need to check gateway statuses in real time to ensure that child devices report data properly.
Gateway reporting device properties in batches A gateway reports property data of multiple child devices to the platform. Service Flow Create a product on the IoTDA console or by calling the API for creating a product.
All devices in the list share the gateway permission. That is, child devices under any gateway in the list can go online through any gateway in the group and report data. Value: Enter two to ten device IDs in the list.
reporting device properties in batches Device event Platform notifying a gateway of new child device connection Platform notifying a gateway of child device deletion Gateway synchronizing child device information Gateway updating child device statuses Gateway requesting for adding
Network address translation (NAT) is required when the intranet of a company or campus is used. You can use NAT to obtain a public IP address. Why Was the Callback URL Invalid During the Subscription API Call?
Topic Downstream: $oc/devices/{device_id}/sys/events/down Parameters Parameter Mandatory/Optional Type Description object_device_id Optional String Explanation: For gateway child device: The value is the child device ID in the topic.
Gateway Reporting Child Device Properties This API is used to report device data in batches to IoTDA. A gateway can use this API to report the property data of a maximum of 50 child devices at the same time. Parent topic: HTTPS API Reference on the Device Side
Maximum: 64 gateway_id No String Parameter description: gateway ID, which is the device ID of the parent device. The gateway ID is the same as the device ID if the device is a directly connected device.
Maximum: 64 gateway_id No String Parameter description: gateway ID, which is the device ID of the parent device. The gateway ID is the same as the device ID if the device is a directly connected device.
If the device is an indirectly connected device, the gateway ID is the device ID of the directly connected device (that is, the gateway) with which it associates.
Device Property Reporting Reporting Device Properties Gateway Reporting Child Device Properties Parent topic: HTTPS API Reference on the Device Side
Used when a gateway is associated with multiple child devices, and you do not have strict requirements on the data reporting time. The data of these child devices can be packaged and then reported together by the gateway.
All devices in the group share the gateway permission.