1
0

update cmd client

This commit is contained in:
2026-01-08 19:37:25 +08:00
parent 64368b7837
commit 7b22dfb66b
13 changed files with 105 additions and 93 deletions

View File

@@ -40,7 +40,7 @@ CODE_PACKER: struct.Struct = struct.Struct("=B")
HANDSHAKE_REQUEST_PACKER: struct.Struct = struct.Struct("=BII")
class CommandServer:
class CmdServer:
"""
Command server implementation for the Trainer side according to the protocol.
"""

View File

@@ -1,4 +1,4 @@
from command_server import CommandServer, HandshakePayload, PixelKind
from cmd_server import CmdServer, HandshakePayload, PixelKind
from while_stopper import WhileStopper
import logging
import signal
@@ -9,7 +9,7 @@ def receive_data() -> None:
def main():
server = CommandServer()
server = CmdServer()
print('Please launch BasaltPresenter now.')
print('Then press Enter to continue...')