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
}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.