检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
When the gateway is offline, it can call the API for Gateway Updating Child Device Status to send the latest status of child devices to the IoT platform. What Are the Differences Between Device ID, Node ID, and IMEI and What Are They Used For?
Device Properties Device Reporting Properties Gateway Reporting Device Properties in Batches Platform Setting Device Properties Platform Querying Device Properties Device Obtaining Device Shadow Data from the Platform Parent topic: MQTT or MQTTS API Reference on the Device Side
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.
GATEWAY: a directly connected device or gateway.
Device Management Create a Device Query the Device List Query a Device Modify a Device Delete a Device Reset a Device Secret Freeze a Device Unfreeze a Device Reset a Device Fingerprint Modify a Device Gateway Query Device List Flexibly Query the List of Device Groups to Which a Specified
Devices that do not support the TCP/IP protocol stack, such as Bluetooth and ZigBee devices, need to use a gateway integrated with the IoT Device SDK to communicate with the platform. Create a product on the IoTDA console or by calling the API for creating a product.
MQTT or MQTTS API Reference on the Device Side Before You Start Communication Modes Topics Device Connection Authentication Device Commands Device Messages Device Properties Gateway and Child Device Management Software and Firmware Upgrade File Upload and Download Device Time Synchronization
Gateway Reporting Child Device Property /v5/devices/{device_id}/sys/gateway/sub-devices/properties/report 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.
GATEWAY: a directly connected device or gateway.
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.
Access Developing an MQTT-based Simulated Smart Street Light Online Developing a Smart Street Light Using NB-IoT BearPi Developing a Smart Smoke Detector Using NB-IoT BearPi Connecting and Debugging an NB-IoT Smart Street Light Using a Simulator Developing a Protocol Conversion Gateway
/sub_devices/properties/report Device Platform Gateway Reporting Device Properties in Batches $oc/devices/{device_id}/sys/properties/set/request_id={request_id} Platform Device Platform Setting Device Properties $oc/devices/{device_id}/sys/properties/set/response/request_id={request_id
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.
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.
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: a directly connected device or gateway.
GATEWAY: a directly connected device or gateway.
GATEWAY: a directly connected device or gateway.
However, it does not provide gateway services. Requirements It adapts to LiteOS, Linux, macOS, and FreeRTOS. You can modify the SDK to adapt to other environments. For details about different modules, see the SDK development board porting list.
Only letters, digits, underscores (_), and hyphens (-) are allowed. status String Device status The value can be ONLINE, OFFLINE, ABNORMAL, INACTIVE, or FROZEN. node_type String Device node type The value can be GATEWAY (a directly connected device or gateway) and ENDPOINT (an indirectly