跳到主要内容

向设备下发 Command 并等待响应

POST 

/devices/command/execute/await

通过 command 控制设备,并在服务端获取设备响应。
以下 command 可响应:
APIGetIrDeviceCategoriesForApp(40263)
APIGetBrandsByCategoryForApp(40267)
APIGetMatchTreeForApp(40268)
APIClickIrKeyForApp(40273)
APISaveMatchedRemoteInfoForApp(40292)
SetIRDeviceInfo(40288)
IRCodeMatchStatus(20591)
APICreateIrVirtualDeviceForApp(40281)
SendIrKey(40305) APIStartIrLearningForApp(40280)
IRLearnResult(20618)
APIAddIrKeyForApp(40275)

Request

Responses

成功(data 返回每条命令的执行及设备上报结果)