Conversation
…move AI-authored (deepseek-v4-flash-free, 2-year+ context, default params): - Add GetInfoScanner (scan window 2..10, per-node transfer-IDs, wrap cursor) - Register response RX port (is_request=false) and route Rx transfers by direction - Send sealed GetInfo requests via udpardTxRequest on a 5 s tick in Execute() - Gather/deserialize GetInfo responses (udpardGather + generated deser) and print - Add host Catch2 tests for the client scanner (9 cases / 38 assertions) - Add memory::move (overlap-safe) + extern "C" memmove in modules/memory for libudpard, gated to cross-target builds like memcpy/memset; host tests cover forward/backward overlap and zero-length moves Human: issue #45 context and scan-window/naming choices. Verified: LLVM 18/18, AppleClang 18/18, M4 + M7 cross workflows build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #45 (client half).
Stacked on top of #44/#46 (server + dispatcher infra). Builds on
GetInfoResponseHandlerand the RPC dispatcher introduced there.Changes
applications/nucleo-cyphal/include/GetInfoScanner.hpp):scan window of server node-IDs, wrap-around cursor, per-node
transfer-ID table, pending-node tracking. Host-testable, no target deps.
(
is_request=false), routes received transfers bytransfer.is_request,sends sealed GetInfo requests via
udpardTxRequeston a 5 s tick, andgathers/deserializes responses with
udpardGather.memmove:udpardGatherneedsmemmove; added anoverlap-safe
memory::move+extern "C" memmove(cross-target only,mirroring
memcpy/memset) inmodules/memory.Tests
cyphal-getinfo-client(9 cases / 38 assertions)covering scan cursor wrap-around, per-node transfer-IDs, range checks,
reset and pending state.
memory::movetests cover non-overlap, forward/backward overlap, zero-length.Verified with
./scripts/build-all-presets.shscope as documented in AGENTS.md(the
on-host-native-gccpreset is not buildable on macOS, pre-existing).