Response for Updating the Gateway Subdevice Status
Topic
| Topic | /v1/devices/{gatewayId}/topo/updateResponse |
|---|---|
| Publisher | IoT platform |
| Subscriber | Edge device |
Parameter Description
| Field | Mandatory/Optional | Type | Description |
|---|---|---|---|
| mid | Mandatory | Integer | Command ID. |
| statusCode | Mandatory | Integer | Result code for request processing. The options are as follows:
|
| statusDesc | Optional | String | Response status description. |
| data | Optional | List< UpdateStatusRsp > | Device status information after being updated. |
UpdateStatusRsp struct description
| Field | Mandatory/Optional | Type | Description |
|---|---|---|---|
| statusCode | Mandatory | Integer | Result code for request processing. The options are as follows:
|
| statusDesc | Optional | String | Result description. |
| deviceId | Mandatory | String | Unique device ID generated by the IoT platform, which corresponds to the device client ID. |
Example
{
"data": [{
"deviceId": "D59eGSxy",
"statusCode": 0
}],
"mid": 9,
"statusCode": 0
} Last Article: Updating the Gateway Subdevice Status
Next Article: Deleting a Gateway Subdevice
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.