Repository navigation
genset: DM13 stops and starts the periodic PGs - #35
Merged
Merged
Conversation
A DM13 to the node or to everyone with a stop for this network or data link holds every periodic PG; requests are still answered. A start brings them back, and a stop not renewed ends 6 s after the last one. The suspend signal and duration are not read. lib/j1939: a quiet flag that holds the periodic sends in phase, and on_pg takes PDU1 PGs sent to everyone too, with the destination. FDCAN1 gets ten extended filters for the ninth this needs.
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.
What
The genset answers J1939-73 DM13 (stop/start broadcast, PGN 57088).
lib/j1939: aquietflag (zelos_j1939_quiet) holds the periodic sends and keeps their phase;on_pgnow also takes PDU1 PGs sent to everyone and is given the destination. FDCAN1's message RAM goes from 8 to 10 extended filters (DM13 is the ninth), 16 bytes more, still clear of FDCAN2's region.Why
A service tool's stop/start broadcast command had nothing on the bench to act on it.
Tested
just twister: 76 of 76 cases, with a newtest_quiet.just test-bench j1939(Renode): 47 passed, three new DM13 cases (stop to the node, stop to everyone, a renewed stop holding and then ending by itself).just hil ... j1939: 47 passed.autosar canopen full obd uds xcp: 108 passed, 4 skipped, as before the filter change.