esp_routes_basic and server comm

This commit is contained in:
derlole
2025-04-17 12:33:11 +00:00
parent 58f9d3b451
commit f8cf645325
5 changed files with 32 additions and 16 deletions

10
routes/shared.py Normal file
View File

@@ -0,0 +1,10 @@
pending_command = {'command': None, 'command-URL': None, 'command-expected': None, 'command-expected-URL': None}
def reset_command():
global pending_command
pending_command = {
'command': None,
'command-URL': None,
'command-expected': None,
'command-expected-URL': None
}