Create apfree_wifidog_mqtt_protocol

This commit is contained in:
Dengfeng Liu 2017-06-09 11:38:59 +08:00 committed by GitHub
parent 98b2b717d6
commit 1595732380

View File

@ -25,7 +25,7 @@ request:
3, clear trusted domain&pdomain&mac&ip 3, clear trusted domain&pdomain&mac&ip
{"op":"clear_trusted","type":"domain|pdomain|mac|ip","time":"yyyymmddhhmmss"} {"op":"clear_trusted","type":"domain|pdomain|mac|ip","time":"yyyymmddhhmmss"}
4, show trusted domain&pdomain&mac&ip 4, show trusted domain&pdomain&mac&ip
{"op":"show_trusted","type":"domain|pdomains|mac|ip","time":"yyyymmddhhmmss"} {"op":"show_trusted","type":"domain|pdomain|mac|ip","time":"yyyymmddhhmmss"}
5, save all above user defining rules 5, save all above user defining rules
{"op":"save_rule","time":"yyyymmddhhmmss"} {"op":"save_rule","time":"yyyymmddhhmmss"}
6, get status of router 6, get status of router
@ -57,4 +57,4 @@ its ok response should be
topic topic
wifidog/61ACC80118B6/response/110 wifidog/61ACC80118B6/response/110
message message
{"response":"200","op":"set_trusted","msg":"ok"} {"response":"200","op":"set_trusted","type":"pdomain","msg":"ok"}