-
Notifications
You must be signed in to change notification settings - Fork 0
Make core #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…settings, and core library headers
…ect description, add requirements, and include quick start guide for usage with CPM.cmake and find_package.
…definition for header-only usage
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
…irectory and adjust include directories for cpp_core library
…include paths for version header
…n CPM.cmake integration
…ence, and update README for clarity on library usage
…ion instructions, directory structure, and minimal C example
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
…, README.md, and overview documentation.
…tency. Update function descriptions, parameter details, and improve overall readability.
…pp_core_config.cmake.in and add initial content for package configuration.
…ultiplier parameter for timeout adjustments. Update documentation for clarity on function behavior and parameter details.
…ability by formatting parameters across multiple lines. Update .clang-format to enforce new alignment and formatting rules.
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
- Introduced `cpp_core.h` as an umbrella header to simplify access to the cpp_core library's public C/C++ API. - Created `module_api.h` for platform-specific export definitions. - Refactored `serial.h` to include modular interface headers for better organization and maintainability. - Added multiple interface headers for serial operations, including functions for reading, writing, and managing serial ports. This update enhances the library's structure and usability for developers.
- Updated .clang-format to disable alignment of trailing comments. - Reformatted enum values in status_codes.h for improved readability. - Enhanced documentation comments across multiple interface headers to ensure consistent formatting and clarity, particularly in parameter descriptions and return values. These changes aim to improve code readability and maintainability throughout the cpp_core library.
- Deleted the `serial_write_line.h` header file, which contained the `serialWriteLine` function definition. - Updated `serial.h` to remove the inclusion of the deleted header. This change streamlines the serial API by eliminating an unused function, enhancing maintainability.
Mqxx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the @return statements for consistency. Some reference the enum some others do not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why we named this module_api. It makes kinda sense but also not xD but I also don't know a better name to reflect what it does.
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
- Introduced `ErrorCallbackT` type and added error callback parameter to multiple serial interface functions, enhancing error handling capabilities. - Updated documentation to reflect changes in return values and parameters across various headers, ensuring clarity and consistency. This update improves the robustness of the serial API by allowing users to handle errors more effectively.
- Enhanced multiple serial interface functions by adding an optional `error_callback` parameter, allowing users to handle errors more effectively. - Updated documentation across various headers to reflect the new parameter, ensuring clarity and consistency. This change improves the robustness of the serial API by providing better error handling capabilities.
…interface headers - Added `.cache/` to `.gitignore` to exclude cache files from version control. - Removed unnecessary whitespace in `CMakeLists.txt` for cleaner formatting. - Clarified return value documentation in `serial_drain.h` and `serial_open.h` to improve understanding of function outcomes. These changes enhance project organization and improve code documentation clarity.
- Updated return value descriptions in multiple serial interface header files to specify that negative error codes are derived from ::cpp_core::StatusCodes. This change enhances clarity and consistency in the documentation. These updates improve the understanding of function outcomes across the serial API.
No description provided.