发送机场声光报警开关正常响应, 发送打开/关闭舱盖没有响应是怎么回事
Completed我发送机场声光报警开关命令, 机场能正常的发出报警
Topic: thing/product/7CTDM2100B3Y98/services
{ "tid": "1c37e92d-2866-45b7-bebf-529c32e18e37", "bid": "6370eff0-7986-4733-92ad-f539cb1ee719", "gateway": "7CTDM2100B3Y98", "method": "alarm_state_switch", "data": { "action": 1 } }
能得到正常响应
Topic: thing/product/7CTDM2100B3Y98/services_reply
{"tid":"1c37e92d-2866-45b7-bebf-529c32e18e37","bid":"6370eff0-7986-4733-92ad-f539cb1ee719","gateway":"7CTDM2100B3Y98","method":"alarm_state_switch","data":{"result":0,"output":{"status":"ok"}}}
但是发送送打开/关闭舱盖命令就发什么, 返回什么, 并没有正常打开/关闭舱盖
Topic: thing/product/7CTDM2100B3Y98/services
{ "tid": "1c37e92d-2866-45b7-bebf-529c32e18e37", "bid": "6370eff0-7986-4733-92ad-f539cb1ee719", "gateway": "7CTDM2100B3Y98", "method": "cover_open" }
就响应这个
Topic: thing/product/7CTDM2100B3Y98/services_reply
{
"tid": "1c37e92d-2866-45b7-bebf-529c32e18e37",
"bid": "6370eff0-7986-4733-92ad-f539cb1ee719",
"gateway": "7CTDM2100B3Y98",
"method": "cover_open"
}
Please sign in to leave a comment.
Comments
1 comment