mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-04 14:25:08 +00:00
The display serves a control socket (/run/ledmatrix/control.sock) carrying versioned JSON commands, one per line, each answered. Stage 1 covers on-demand start, stop and status; commands are queued on the socket thread and applied on the render thread through the mailbox's own handler, and the web interface falls back to the file mailbox when the socket is unavailable. Protocol and security model: docs/IPC_CONTROL_SOCKET.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
509 B
Python
12 lines
509 B
Python
"""The display process's control socket: web -> display commands with acks.
|
|
|
|
- :mod:`src.ipc.contract` -- the versioned messages, the framing and where
|
|
the socket lives. Shared by both sides; standard library only.
|
|
- :mod:`src.ipc.server` -- the display side: a threaded Unix-socket server
|
|
whose handlers only queue work for the render thread.
|
|
- :mod:`src.ipc.client` -- the web side: one short-timeout request.
|
|
|
|
See docs/IPC_CONTROL_SOCKET.md for the protocol, the security model and the
|
|
stage plan.
|
|
"""
|