fix: return success status when 0x0000 System Error frame is produced & bump v0.1.1 - #2
Conversation
… and bump version to 0.1.1
🤖 Gemini Code Review
WindRPC Pull Request Review1. SummaryThis pull request primarily updates the project version from 2. Issues
3. Suggestions
4. VerdictThe version bumps are consistent and correct. The core change in Generated by gemini_review.py. Base: |
🤖 Gemini Code Review
1. SummaryThis pull request updates the WindRPC framework to version 0.1.1, primarily by refining the return value semantics of the 2. IssuesNone. The changes improve the robustness and clarity of error handling, aligning with best practices for RPC frameworks. 3. Suggestions
4. Verdict✅ LGTM Generated by gemini_review.py. Base: |
🤖 Gemini Code Review
WindRPC Pull Request Review1. SummaryThis pull request primarily updates the WindRPC framework to version 2. IssuesNo issues found. The changes are consistent, well-documented, and adhere to the project's rules. 3. Suggestions
4. Verdict✅ LGTM Generated by gemini_review.py. Base: |
🤖 Gemini Code Review
1. SummaryThis pull request refactors the return value semantics of the 2. IssuesNone. The changes are consistent across documentation, tests, and implementation, and adhere to the project's rules. 3. Suggestions
4. Verdict✅ LGTM Generated by gemini_review.py. Base: |
Summary
send_flat_error_response()encodes a0x0000System Error response packet intotxn.buffer.tx_data(UNIMPLEMENTEDstatus code). However,windrpc_handle()previously returned-1, causing MCU application loops (if (status == 0)) to drop the error frame, resulting in a client timeout instead of an immediate status error response.windrpc_handle()now returns0when a System Error response frame is successfully generated intotxn.buffer.tx_data, allowing MCU transport layers to transmit the0x0000status error frame back to the client SDK immediately.v0.1.1(version_code: 101).