The goal of this issue is to refactor the project to improve code readability, scalability, and overall structure. The proposed changes include:
Define and apply a suitable software architecture (e.g., MVC, Clean Architecture, or another appropriate pattern)
Implement design patterns to enhance separation of concerns, such as:
Singleton for managing the serial port
Strategy or Command Pattern for handling command dispatch
Factory or Abstract Factory for building frames/protocols
Organize the codebase into modules or folders by responsibility
Add proper documentation and comments to improve maintainability and support future contributions
The goal of this issue is to refactor the project to improve code readability, scalability, and overall structure. The proposed changes include:
Define and apply a suitable software architecture (e.g., MVC, Clean Architecture, or another appropriate pattern)
Implement design patterns to enhance separation of concerns, such as:
Singleton for managing the serial port
Strategy or Command Pattern for handling command dispatch
Factory or Abstract Factory for building frames/protocols
Organize the codebase into modules or folders by responsibility
Add proper documentation and comments to improve maintainability and support future contributions