Commit Graph
25 Commits
Author SHA1 Message Date
sani7 7618789717 server
move to internal can wrapper and external can_interface
2026-02-14 14:32:39 +01:00
sani7 e7c4f3956a server
update main command line arguments
2026-02-14 14:32:39 +01:00
sani7 01dfb0e21d server doxygen
Add documentation to the server
2026-02-14 14:32:37 +01:00
sani7 a3a1657fb8 Lint 2026-02-14 14:32:34 +01:00
sani7 fbf8f53090 server
Ensures that the message parser returns a default "{}" response after handling an event, preventing unintended empty responses.
Also, this change avoids sending empty messages to the client unnecessarily.
2026-02-14 14:32:33 +01:00
sani7 4efe904fe7 Improves logging and adds TODO for COM device
Capitalize  first letter.
Adds a TODO comment to address future improvements regarding COM device handling.
2026-02-14 14:32:33 +01:00
sani7 e9128e4f36 sim loading
remove idea of running this thing on windows, not possible due to windows not having "export-dynamic" support
2026-02-14 14:32:32 +01:00
sani7 326a636122 server
Renames the `run` method to `start` in the simulator classes.
2026-02-14 14:32:32 +01:00
sani7 1a88e5fc40 b server sim switching
Rearranges the order of operations during simulator switching to ensure that the previous simulator is properly stopped and disconnected before the new simulator is started.
2026-02-14 14:32:32 +01:00
sani7 a2befb3ff9 b server simulators broadcast
- Fix for separate message for each ui change/sim change event by putting Qt::QueuedConnection
- Avoids broadcasting empty JSON objects produced by the change above mentioned
2026-02-14 14:32:31 +01:00
sani7 ee185b68e6 Adds check for active simulator before commands
Implements a check to ensure a simulator is active before processing commands.

This prevents errors and unexpected behavior when commands are sent without an active simulator. The check is performed at the beginning of the command parsing, and logs an error if no simulator is active, returning an empty JSON object.
2026-02-14 14:32:10 +01:00
sani7 34acefde6a server
remove includes from simulators header to source
2026-02-14 14:31:25 +01:00
sani7 15969538de b library
fix unload lib on error
2026-02-14 14:31:24 +01:00
sani7 5d3782ccfd b server
fix naming
2026-02-14 14:31:23 +01:00
sani7 d82886f3a1 server
implemented but not tested
2026-02-14 14:31:22 +01:00
sani7 a0d75c7e4e server
build able but not implemented
2026-02-14 14:31:22 +01:00
sani7 e9bec527a6 server
move to communication struct
2026-02-14 14:31:12 +01:00
sani7 3c8c1abcbb lint 2026-02-14 14:31:07 +01:00
sani7 b6e4257cc6 b server
fix websocket error in simulators
2026-02-14 14:30:59 +01:00
sani7 44c314b464 b uart closing on destruction 2026-02-14 14:30:58 +01:00
sani7 d885b36c71 add uart 2026-02-14 14:30:58 +01:00
sani7 63d6ff460b simulators
Move websocket to thread
2026-02-14 14:30:52 +01:00
sani7 600a081627 simulators
remove function
2026-02-14 14:30:50 +01:00
sani7 597c3c5487 Use SPDLOG_* to use file:line 2026-02-02 14:29:45 +01:00
sani7 592ceb5b29 Fix rebase errors 2026-02-02 14:29:44 +01:00