Last Updated on : 2023-06-15 04:51:04
The gateway searches for sub-devices. The default searching time is 100 seconds. If no sub-device is found after a timeout period, the search failed.
POST: /v1.0/iot-03/device-registration/devices/{device_id}/actions/discover
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
duration | Integer | query | false | The duration for the gateway to search for sub-devices. Valid values: 0–3,600 seconds. Default value: 100 seconds. |
Parameter name | Type | Description |
---|---|---|
result | Boolean |
POST: /v1.0/iot-03/device-registration/devices/xxxid/actions/discover?duration=100
{
"result": true,
"t": 1591872112140,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback