Add mode query
This commit is contained in:
4
run.py
4
run.py
@ -264,6 +264,10 @@ def check_server():
|
|||||||
|
|
||||||
case "ping":
|
case "ping":
|
||||||
fprint("Pong!!!")
|
fprint("Pong!!!")
|
||||||
|
|
||||||
|
case "mode":
|
||||||
|
if call == "request":
|
||||||
|
send_data("mode", "send", "{\"mode\": \"" + mode + "\" }")
|
||||||
# Lucas' notes
|
# Lucas' notes
|
||||||
# Add a ping pong :) response/handler
|
# Add a ping pong :) response/handler
|
||||||
# Add a get cable response/handler
|
# Add a get cable response/handler
|
||||||
|
Reference in New Issue
Block a user