add SSE for receiving failsafe status

This commit is contained in:
Sem van der Hoeven
2023-05-30 22:02:02 +02:00
parent 48e1ce8f5b
commit e6e1b11369
3 changed files with 81 additions and 43 deletions

View File

@@ -16,6 +16,8 @@ import base64
# communication: client always sends commands that have a command id.
# server always sends messages back that have a message type
# TODO send video https://github.com/Jatin1o1/Python-Javascript-Websocket-Video-Streaming-/tree/main
class RequestCommand(Enum):
GET_COMMANDS_TYPES = -1 # to get the available commands and types