多協議接入 產品介紹 快速入門 用戶指南 開發指南
EDP TCP透傳 MQTT Modbus HTTP
常見問題

查詢設備訂閱的topic

請求方式:GET

URL: http://api.onenet.hk.chinamobile.com/mqtt/device_topic/device_id

device_id:需要替換為設備lD

返回參數

參數名稱 格式 說明
errno int 調用錯誤碼,為0表示調用成功
error string 錯誤描述,為“succ”表示調用成功
data array-string topic列表

請求頭部示例

GET http://api.onenet.hk.chinamobile.com/mqtt/device_topic/39587277 HTTP/1.1

返回示例

{
    "errno": 0,
    "data": ["topic/test/01", "topic/test/02"],
    "error": "succ"
}

个搜索结果,搜索内容 “

    0 个搜索结果,搜索内容 “