Skip to content

Conversation

@Katze719
Copy link
Member

@Katze719 Katze719 commented Jul 6, 2025

No description provided.

Katze719 added 3 commits July 6, 2025 13:14
…ect description, add requirements, and include quick start guide for usage with CPM.cmake and find_package.
@Katze719 Katze719 requested a review from Mqxx July 6, 2025 11:22
@Katze719 Katze719 self-assigned this Jul 6, 2025
Katze719 and others added 11 commits July 6, 2025 18:34
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
…ence, and update README for clarity on library usage
…ion instructions, directory structure, and minimal C example
@Katze719 Katze719 requested a review from Mqxx July 6, 2025 21:29
Katze719 added 5 commits July 8, 2025 19:14
…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.
Katze719 and others added 2 commits July 9, 2025 07:47
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Co-authored-by: Mqx <62719703+Mqxx@users.noreply.github.com>
Katze719 added 3 commits July 9, 2025 20:20
- 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.
Copy link
Member

@Mqxx Mqxx left a 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.

Copy link
Member

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.

Katze719 and others added 8 commits July 10, 2025 09:13
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.
@Mqxx Mqxx merged commit f01cbfb into main Jul 10, 2025
@Katze719 Katze719 deleted the make-core branch November 14, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants