Commit Graph

9 Commits

Author SHA1 Message Date
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 539ea0e170 refactor(extern_interface): implement deinitialization and improve event handling
- Add extern_interface_deinit() function for proper deinitialization
- Implement event queue with move semantics for better performance
- Update telemetry and alarm handling logic
- Refactor code to use more modern C++ features and improve readability
2024-12-02 14:48:26 +08:00
ovizro 6fb6402219 feat(event): implement new event handling mechanism
- Rename and restructure event-related functions and data structures
- Introduce unique_ptr for automatic memory management of event arguments
- Add new event types and update existing ones
- Modify telemetry and host communication threads to use new event system
- Remove redundant code and optimize data handling
2024-11-30 18:26:46 +08:00
Ovizro c9ef0edda6 refactor(extern_interface): rename and restructure telemetry data handling
- Rename ET_TYPE_TELEMETRY_REQUEST to ET_SYS_STATUS_WAKE
- Rename get_telemetry_request_data to get_telemetry_data
- Rename extern_interface_handle to handle_pack
- Move telemetry data preparation from host_com.cpp to extern_interface
- Simplify volume grade, system version, and application version handling
2024-11-30 02:44:08 +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