- 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
- 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
- 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
- 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