-
Notifications
You must be signed in to change notification settings - Fork 0
feat(uds): the collected UDS findings -- busy repeat, functional addressing, and four corrections #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat(uds): the collected UDS findings -- busy repeat, functional addressing, and four corrections #150
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
e460d7f
feat(uds): the collected UDS findings -- busy repeat, functional addr…
dborgards 1cc3af2
test(uds): dispose the token source and the client CodeQL flagged on …
dborgards 7cbebdc
fix(uds): correlate functional answers to the request, require a wind…
dborgards 77368d2
fix(uds): serialise functional requests, and reject a negative busy-r…
dborgards 2769a4b
fix(uds): a functional call queued behind another does not send after…
dborgards e514791
fix(uds): correlate functional answers on the echoed parameters, and …
dborgards 15882ec
fix(uds): keep a suppressed send's window per service, on both client…
dborgards 29b5bab
fix(uds): extend a suppressed send's window on NRC 0x78, and keep eve…
dborgards a09fceb
refactor(uds): fold the pending-response check CodeQL flagged into on…
dborgards 7269ce3
fix(uds): note a functional window before the send, keep a cancelled …
dborgards 2da4e3a
fix(uds): anchor a functional request's window at its transmission, h…
dborgards 1dc74ac
feat(isotp): stamp a functional response with its arrival; fix(uds): …
dborgards 0319c25
fix(uds): route a heard 0x78 to its own service's window, survive a q…
dborgards 01ece81
fix(uds): give the functional client one listener per service for the…
dborgards 534b1a5
fix(uds): correlate the DID-echoing services 0x24, 0x2C and 0x2F on t…
dborgards db58008
fix(uds): restart the functional listener when anchoring a window aft…
dborgards 79c3ea1
fix(uds): route a stray 0x78 to its service's window, start no listen…
dborgards 3728387
feat(isotp): let a functional client listen on one subscription acros…
dborgards 9c4a976
fix(uds): subscribe the functional listener before the send, retire i…
dborgards da77871
test(isotp): dispose the listener under test by using, for a throw be…
dborgards 2bb7a00
fix(isotp): keep a frame from after the deadline for the next collect…
dborgards d7cefc1
fix(uds): anchor the functional window when the collection leaves by …
dborgards c59b9aa
test(isotp): dispose the service under test by using, for a throw bef…
dborgards ef55548
fix(uds): revive no window for a 0x78 from after its end, and correla…
dborgards 675e29b
fix(uds): revive no window for a late 0x78 heard while another servic…
dborgards 0d7266b
fix(uds): revive no window for a 0x78 of the waited service itself fr…
dborgards 1d0b046
fix(uds): revive no functional window for a 0x78 collected after the …
dborgards 36d8017
fix(uds): read what the functional listener's subscription buffered b…
dborgards e9ce1fc
fix(isotp): read the listener's buffer without a timer for a zero window
dborgards 0d6fa8b
fix(uds): correlate a functional RequestFileTransfer on its modeOfOpe…
dborgards edba9e4
fix(uds): keep the functional listener through a send whose confirmat…
dborgards c3c025b
feat(isotp)!: let a channel be settled, so a look at the inbox at a d…
dborgards 2a697de
fix(uds): settle the channel before reading the inbox empty at a dead…
dborgards 808e9c3
fix(isotp): bound a functional collection by its frames' arrival stam…
dborgards 8172826
docs(isotp): say what SettleAsync does when called on the channel's o…
dborgards 019ee82
test(uds): stamp the on-its-way 0x78 at the send, and set the two P2*…
dborgards 976fb04
fix(isotp): read the listener's buffer against now, not against a neg…
dborgards c078871
test(uds): give the functional tests' late negative answers 1150 ms o…
dborgards 72e0b82
docs(uds): say which functional services are correlated on the positi…
dborgards e1fdea2
fix(uds): note a suppressed send's window again when the send leaves …
dborgards a8b54a1
feat(isotp)!: let a discard take the caller's stamp, so what it drops…
dborgards 69b38f2
fix(uds): take the pre-send discard's stamp before routing what the i…
dborgards 6728759
fix(uds): refuse a collection window beyond a timer's reach before an…
dborgards fc86326
fix(uds): bound the functional client's windows at creation as a coll…
dborgards 5cb50c0
fix(uds): bound every duration in the client options at a timer's reach
dborgards cfec2b8
fix(uds): leave no window behind a request the channel refused before…
dborgards a2b68a6
fix(uds): retire the refused send's listener before the window is put…
dborgards 92b2ae4
fix(isotp): refuse a listener window beyond a timer's reach before ta…
dborgards b6809a8
test(uds): hold the stub's transmission until the cancellation in the…
dborgards 367315c
fix(uds): settle and route what the channel holds on an aborted reque…
dborgards 5672520
fix(uds): discard stale replies before a suppressed send, as before a…
dborgards c2dbc0b
feat(isotp): report when a functional request went out, and leave out…
dborgards 6006623
fix(uds): anchor the functional window at the driver's acceptance, an…
dborgards 0916c20
fix(uds): hold the handoff cutoff with the window, for the listener t…
dborgards 9c458bd
test(uds): stamp the aborted-discard test's 0x78 at the request's sta…
dborgards 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
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| using System.Collections.Generic; | ||
|
|
||
| namespace CanKit.Pro.IsoTp; | ||
|
|
||
| /// <summary> | ||
| /// What <see cref="IsoTpFunctionalClient.SendAndCollectWithTransmitStampAsync"/> returns: the | ||
| /// responses collected within the window, and when the request went out. | ||
| /// </summary> | ||
| public readonly struct IsoTpFunctionalCollection | ||
| { | ||
| internal IsoTpFunctionalCollection(IReadOnlyList<IsoTpFunctionalResponse> responses, IsoTpTransmitStamps transmitStamps) | ||
| { | ||
| Responses = responses; | ||
| TransmitStamps = transmitStamps; | ||
| } | ||
|
|
||
| /// <summary>The Single-Frame responses collected within the window, in arrival order.</summary> | ||
| public IReadOnlyList<IsoTpFunctionalResponse> Responses { get; } | ||
|
|
||
| /// <summary>When the request was handed to the driver and transmitted; zero where unknown.</summary> | ||
| public IsoTpTransmitStamps TransmitStamps { get; } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.