Device Side
URI
| Request Method | POST |
|---|---|
| URI | /v5/iot/tunnels/{tunnel_id}/device-connect |
| Transport Protocol | wss (Sec-Websocket) |
Request Parameters
| Parameter | Mandatory | Type | Location | Description |
|---|---|---|---|---|
| tunnel_access_token | Yes | String | Header | Explanation: Device access tunnel token, which is delivered by the platform through the MQTT topic when a device tunnel is created. Value range: 1 to 256 characters. |
| tunnel_id | Yes | String | Path | Explanation: Tunnel ID, which uniquely identifies a tunnel. Value range: No more than 128 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed. |
Example Request
POST wss://{endpoint}/v5/iot/tunnels/{tunnel_id}/device-connect Example Response
Status Code: 200 Access success
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot