Commit Graph
14 Commits
Author SHA1 Message Date
sani7 5d8db074de b message parser
fix command parser returning null when sending empty command
2024-08-27 16:42:14 +02:00
sani7 ebc2a28241 b message parser
move from [id] json lookup to .at(id)
this gives better exception output
2024-08-27 13:30:20 +02:00
sani7 6dca168b71 b message parser
add try catch around command_parser and event_parser
2024-08-27 13:23:02 +02:00
sani7 1863d5649e message parser
move event logs from info to debug
2024-08-27 11:10:42 +02:00
sani7 e56fe54853 b message parser
fix core dump when an event is called and no sim is active
2024-08-27 11:10:39 +02:00
sani7 162018b002 main
use global ptr to sims instead of global instance
and init the global ptr in main
2024-08-27 11:10:39 +02:00
sani7 981d101052 message parser
clean up
2024-08-27 11:10:38 +02:00
sani7 3f1cf62d5c Start using spdlog library
b CAN
2024-08-27 11:10:37 +02:00
sani7 43793e1065 message parser
reuse type string instead of hard coding the  type
2024-08-23 22:31:11 +02:00
sani7 8161d33245 message parser + simulators
better response on commands and UI_changed event
2024-08-23 22:15:23 +02:00
sani7 e66f528bdc b message parser
fix type of value of value_changed event in event parser
2024-08-23 14:53:44 +02:00
sani7 65f7705d1b b message parser
fix bug that magic enum expects a string and crashes when you give it a json object
add stout messages on command and events
2024-08-23 14:23:50 +02:00
sani7 fd160d9143 message parser
add cmd name to response
2024-08-23 00:34:53 +02:00
sani7 e12263b8d2 message parser
Add magic enum
Add function to parse commands
Add function to parse events
Add function to feed json input to there corresponding parse functions and return there result
2024-08-22 13:57:32 +02:00