Skip to content

feat(uds_services, uds_on_ip): mutable transport and entity access between events - #93

Draft
FelicianoAngulo2 wants to merge 1 commit into
feat/doip-entity-staticfrom
feat/uds-services-mut-access
Draft

FelicianoAngulo2 wants to merge 1 commit into
feat/doip-entity-staticfrom
feat/uds-services-mut-access

Conversation

@FelicianoAngulo2

Copy link
Copy Markdown

A server's transport and its entity can be reached mutably between events, so an application can start discovery or adjust its identity on the server it already owns.

Depends on #92.

Issue URL

Towards https://github.com/luminartech/halo/issues/5100

Testing

Run on this branch with the commits of the PRs below it, each commit alone and on the stack's top:

  • tool self-tests, validate, governance, the Sphinx needs build, and prose (plain and CI's --strict crates/uds_c)
  • cargo test --workspace --all-features; clippy on the host and for thumbv7em-none-eabihf
  • just embedded builds on 1.91 for both targets and the size check (matches the baseline)
  • cargo doc with -D warnings; pre-commit run --all-files
  • On the stack's top also the uds_c Miri job from ci.yml and cargo package -p uds_c --no-verify

…tween events

Server::transport_mut and DoIpTransport::entity_mut let a target that builds its server in place as a static configure the entity before the first step, starting the discovery of one built by Entity::new_discovery_later once it knows its identity. Each says what must not change while a response awaits its confirmation. The embedded probe builds its server that way, in a ConstStaticCell, as the sensor does: main's frame drops from 9216 to 1552 bytes, and the server's 9560 bytes move from bss to data, an initializer image in flash. The baseline records it.

This branch has not been deployed

No deployments
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.

1 participant