How lanresort/verbleiber works
System Context Level
• Hardware Clients (Verbleiber) [This project]
• Central Backend (BYCEPS-whereabouts)
• Frontend (Overview interface)
Client Application Level
Main Components (based on src/*.rs files):
a) Core Components:
• Main Controller (main.rs)
• Configuration Manager (config.rs)
• API Client (api.rs)
• Device Manager (devices.rs)
b) Input/Output Components:
• User Input Handler (userinput.rs)
• Audio Manager (audio.rs)
• CLI Interface (cli.rs)
• Data Model (model.rs)
Hardware Integration Layer
Physical device interactions:
• RFID/Barcode Reader
• Button Input Device (Gamepad)
• Audio Output Device
Design Guidelines:
Specific details
• Configuration flow from TOML file
• User authentication flow (RFID/Barcode → Backend)
• Status update flow (Buttons → Backend)
• Audio feedback path
Input Flow
devices.rs ← userinput.rs ← main.rs
Output Flow
main.rs → audio.rs → Physical Audio Output
External Communication
main.rs → api.rs → Central Backend
Configuration
config.rs → All Components
• Component types
• Connection types
• Status states (check-in, travelling, sleeping)