fallback mode usable from tyshell
[saartuer.git] / tysock.py
index 676f57398b28b73f81e5882b79fefd831e84e6ca..b7cb1cc6b09e2cb909481a256b9f9ee203534d82 100644 (file)
--- a/tysock.py
+++ b/tysock.py
@@ -27,6 +27,9 @@ class TySocket():
        CMDs = {
                b'buzz': StateMachine.CMD_BUZZ,
                b'unlock': StateMachine.CMD_UNLOCK,
+               b'lock': StateMachine.CMD_LOCK,
+               b'fallback_mode_on': StateMachine.CMD_FALLBACK_ON,
+               b'fallback_mode_off': StateMachine.CMD_FALLBACK_OFF,
        }
        
        def __init__(self, sm):