Add mode query
This commit is contained in:
parent
3fb78f8b5a
commit
5a5202e6f5
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user