Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
mod: naming RpcResult->RpcCall
  • Loading branch information
eigen-value committed Nov 14, 2025
commit f36918e7fce4f7683f045d03bcc9a499d202c5ce
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The `Bridge` library provides a communication layer built on top of the `Arduino
- Process incoming requests (`update()`)


`RpcResult`
- Helper class representing the result of a remote call. It waits for the response, extracts the return value, and propagates error codes if needed.
`RpcCall`
- Helper class representing an asynchronous RPC. If its .result method is invoked, it waits for the response, extracts the return value, and propagates error codes if needed.

**Threading and Safety**
- The bridge uses Zephyr mutexes (`k_mutex`) to guarantee safe concurrent access when reading/writing over the transport. Updates are handled by a background thread that continuously polls for requests.
Expand Down