caizhibang:20170421 modify apfree_wifidog_mqtt_protocol for reset the client and add me to contributors.md

This commit is contained in:
caizhibang 2017-04-21 18:00:38 +08:00
parent 0db9ef2426
commit d225a78154
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ apfree wifidog mqtt protocol is used to remotely control wifidog, including
5, save all above user defining rules
6, status of router
7, reboot router
8, reset trusted client(kick the online client)
apfree wifidog will subscribe a topic : wifidog/gw_id/request/+
for example, it should only receive such topic:
@ -31,6 +32,8 @@ request:
{"op":"get_status","time":"yyyymmddhhmmss"}
7, reboot device
{"op":"reboot","time":"yyyymmddhhmmss"}
8, reset trusted client
{"op":"reset","type":"ip|mac","value":"client_ip|client_mac","time":"yyyymmddhhmmss"}
response:
if these request has response, its format:

View File

@ -5,3 +5,6 @@ Thank you to all contributors:
[KerwinKoo](https://github.com/KerwinKoo)
[heartache1987](https://github.com/heartache1987)
[caizhibang](https://github.com/caizhibang)