Repository navigation
Conversation
A data set may list data objects (functionally constrained data): such a member is named to its data object and reported as the structure a read of it gives, value, q and t. It is reported when a leaf of it triggers, with that leaf's reason, or both. zelos_mms_clock() gives the server UTC and a TimeQuality; a change is stamped with the clock as it was then, and TimeofEntry follows it. Without a call nothing changes: time since boot, not synchronized. A buffered entry keeps the values with their change times, so a replayed data object carries the t it had. full: data set ds_pos (XSWI1-8 Pos whole) with the buffered block brcb_pos01; ds_pdu and ds_dcdc are GOOSE's too and stay as they are. UDS routine 0x6186 sets the clock for a test; the routine option record may now be 8 bytes.
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
qandt. It is reported when any leaf of it triggers, with that leaf's reason for inclusion, or both.zelos_mms_clock(utc_ms, quality)gives the server UTC and a TimeQuality. A change is stamped with the clock as it was then, and TimeofEntry follows it. Without a call nothing changes: time since boot, flagged not synchronized.t. An entry holds the values with their change times, so a replayed data object carries thetit had when it changed.ds_pos(XSWI1-8Poswhole) with the buffered blockbrcb_pos01.ds_pduandds_dcdcare GOOSE's too and are unchanged, as are their blocks and frames.0x6186(extended session) sets the clock: the TimeQuality octet, then UTC in ms (6 bytes), 0 for time since boot.ZELOS_UDS_ROUTINE_OPTION_MAXgoes from 4 to 8 for it.Why
A client that places a reported value at its own
thad nothing on this node to be checked against: the data sets list values only, and the clock could be neither set nor flagged.Cost
CONFIG_INIT_STACKS)The RAM is the two buffered blocks' 32 entries each, which now hold every value with its change time.
Tested
tests/lib/mms: newtest_data_objects(a data object reported whole with both reasons, named to the object,tand TimeofEntry by the clock; a stamp keeps the quality it was made with); the model check refuses a data object listed from its second leaf.testing/suites/mms: newtest_data_objects_report_with_the_time_of_the_change; the station-file test covers the new data set and block.just test-bench mms can-full/build/full.elf.t, with the host's time of each switch as truth: no clock, synchronized (3 s and 15 s off), not synchronized, clock failure; live and replayed changes; a 1 s buffer time with two channels in one report.