Skip to content

Conversation

@nehalkpatel
Copy link
Owner

Replace uint8_t with std::byte for all I2C and UART data transmission APIs to improve type safety and prevent accidental arithmetic operations on raw byte data. This change aligns with modern C++ best practices and makes the intent of byte-oriented operations more explicit throughout the codebase.

Updated interfaces, implementations, applications, and tests. Added custom JSON serialization support for std::byte in the host emulator message encoder.

🤖 Generated with Claude Code

Replace uint8_t with std::byte for all I2C and UART data transmission APIs to improve type safety and prevent accidental arithmetic operations on raw byte data. This change aligns with modern C++ best practices and makes the intent of byte-oriented operations more explicit throughout the codebase.

Updated interfaces, implementations, applications, and tests. Added custom JSON serialization support for std::byte in the host emulator message encoder.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nehalkpatel nehalkpatel merged commit 1bc85c2 into main Nov 25, 2025
1 check passed
@nehalkpatel nehalkpatel deleted the feature/use-std-byte branch November 25, 2025 06:22
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.

2 participants