Updating the Gateway Subdevice Status
Topic
| Topic | /v1/devices/{gatewayId}/topo/update |
|---|---|
| Publisher | Edge device |
| Subscriber | IoT platform |
Parameter Description
| Field | Mandatory/Optional | Type | Description |
|---|---|---|---|
| mid | Mandatory | Integer | Command ID. |
| deviceStatuses | Mandatory | List<DeviceStatus> | Device status list. The list contains 1 to 100 records. |
deviceStatus struct description
| Field | Mandatory/Optional | Type | Description |
|---|---|---|---|
| deviceId | Mandatory | String | Unique device ID generated by the IoT platform, which corresponds to the device client ID. |
| status | Mandatory | String | Subdevice status. The options are as follows:
|
Example
{
"deviceStatuses": [{
"deviceId": "D59eGSxy",
"status": "ONLINE"
}],
"mid": 9
} Last Article: Response for Adding a Gateway Subdevice
Next Article: Response for Updating the Gateway Subdevice Status
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.