Commit Graph

12 Commits

Author SHA1 Message Date
ovizro 7c7827fddb refactor(event): optimize event handling and remove inicpp dependency
- Update event handling logic for better performance
- Remove unused inicpp dependency
- Fix typos and improve code readability
- Update build script for better portability
2024-12-27 20:49:00 +08:00
ovizro f46f39b2b2 feat(event): implement event handling mechanism
- Add event registration and triggering functionality
- Implement event callback mechanism
- Update exint_send to support event type
- Modify alarm and command handlers to use event mechanism
- Update test cases for event handling
2024-12-24 22:50:03 +08:00
ovizro 9e4fdf3b13 feat(exint): support UDP and Unix socket transport for telemetry
- Add UDP and Unix socket transport options for telemetry data
- Implement new handler functions for text and audio data
- Update configuration file format to support new transport options
- Refactor existing code to accommodate new functionality
2024-12-19 18:00:09 +08:00
ovizro 02ca1e00b3 feat(external_interface): implement transport layer and refactor handlers
- Add transport layer abstraction for COM and UDP communication
- Refactor handler definitions and processing logic
- Improve error handling and logging
- Remove unnecessary global variables and pthread usage
2024-12-18 23:08:16 +08:00
ovizro 53a5fe6d50 feat(core): rename and restructure event handling and initialization
- Rename exint_init to exint_initialize
- Update event handling to use multiple threads
- Add epoch checking to DataQueue
- Modify config reading logic
- Update build scripts
- Refactor test cases
2024-12-14 14:39:28 +08:00
ovizro ccaa4908b5 refactor(logging): implement get_logger and set_logger functions
- Add get_logger and set_logger functions to manage global logger
- Update Logger class to use unique_ptr for child loggers
- Modify get_child method to use template and transfer ownership
- Update logging initialization and shutdown processes
- Adjust test cases to use new logger management functions
2024-12-10 15:53:48 +08:00
ovizro 610a7e4008 refactor(project): remove unused DataQueue implementation and CCfgFileParser
- Removed DataQueue and CCfgFileParser classes
- Deleted related source files and Makefile
- Updated .gitignore to exclude new directories
- Modified CMakeLists.txt to add library output path
- Added new memory comparison assertion macros in c_testcase.h
2024-12-06 22:08:52 +08:00
ovizro 5ca1a439f3 refactor(exint): improve queue implementation and rename project
- Rename project from extern_interface to external_interface
- Update CMakeLists.txt to use new project name and add compiler flags
- Implement QueueException and related classes in dataqueue.hpp
- Update event handling and thread management in event.cpp
- Modify external_interface initialization and naming conventions
- Update logging and test cases to reflect changes
2024-12-06 16:07:06 +08:00
ovizro 6653710be9 refactor(communication): remove unused extern interface module
- Remove extern_interface.md file as it's no longer relevant
- Delete etif_detail.h, event.h, and extern_interface.h headers
- Update event.cpp to use new exint namespace and modify event handling
- Remove unused functions and variables related to the extern interface
- Update host_com.cpp to use the new exint_event function
2024-12-02 23:16:25 +08:00
ovizro a2f04fb3cb refactor(comframe): move common definitions and implement serial port functions
- Move common definitions from defines.h to comframe.h
- Implement get_com_tty_id and init_tty functions in comframe.cpp
- Update extern_interface to use pthreads and inicpp
- Simplify event handling in event.cpp
- Remove unused includes and cleanup code in various files
2024-11-29 18:07:35 +08:00
ovizro 4669644cce add a test case 2024-11-28 18:14:00 +08:00
ovizro 9bf7306aa2 init repo 2024-11-28 16:31:00 +08:00