Repository navigation
feat(relay bench): Studio VLAN controls, simulated PTP GM and locked SV gmIdentity #282
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
Closed
masarray
wants to merge
27
commits into
feat/bench-emulated-ptp-gm-sv-global-lock-20261022
from
feat/studio-vlan-ptp-gm-sv-siprotec-bench-20261022
Closed
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
f6c2505
feat(studio): declare canonical SV VLAN override for each SCL stream
masarray 4ce1001
feat(studio): per-stream VLAN editing survives SCL recompilation and …
masarray 8897bef
feat(studio): edit SV Ethernet VLAN PCP/VID per SCL stream and requir…
masarray 4f19e63
feat(studio): expose canonical SV profile to PTP Expert
masarray f8343fa
feat(studio): independently set PTP VLAN or explicitly match SV VLAN …
masarray f9c6692
fix(studio): verify SV VLAN on canonical binary device profile before…
masarray abf80d3
feat(ptp): typed isolated bench GM epoch and quality profile configur…
masarray 11b846a
feat(esp32p4): isolated GNSS-like bench GM wire qualities gated on EM…
masarray c7e9e4f
feat(ptp): monotonic compensated Studio UTC seed for emulated PTP/TAI…
masarray 6fc757c
feat(firmware): transactional PTP CONFIG accepts explicit bench GM mo…
masarray 2000194
feat(sv): promote smpSynch 2 only with measured SV MAC lock and fresh…
masarray 9582291
feat(firmware): expose bench GM mode capability to native Studio
masarray 2f5ac67
feat(studio): explicit PTP Grandmaster simulation option for relay in…
masarray cb92851
feat(studio): send fresh UTC-epoch BENCH GM PTP CONFIG to supporting …
masarray c267260
feat(sv): model optional IEC 61850 Ed2.1 gmIdentity synchronization s…
masarray 791636b
feat(sv): encode/decode standard context tag 0x89 eight-byte PTP gmId…
masarray 3371f19
feat(esp32p4): include matching PTP GrandmasterIdentity in SV Ed2.1 b…
masarray dcb0402
test(sv): Ed2.1 gmIdentity wire tag 0x89, roundtrip and malformed length
masarray 6baa66c
test(studio): native canonical SV VLAN edit, binary profile, invalid …
masarray 63ea71e
fix(esp32): include portable PTP EUI-64 clock identity helper header
masarray ce79ef0
fix(test): initialize optional gmIdentity in existing strict aggregat…
masarray 530d531
fix(studio): reload VLAN editor on active SCL stream change; avoid cr…
masarray a1cf936
fix(ptp): validate UTC seed freshness at source START, not role handoff
masarray 95e8c76
test(ptp): GNSS-profile simulator Announce wire flags, class, accurac…
masarray d56f0f6
fix(studio): include span for native VLAN binary regression
masarray 94b8c14
fix(studio): gate advanced BENCH GM configuration on verified compati…
masarray 60165e6
fix(sv): preserve aggregate source compatibility by appending gmIdent…
masarray 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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When bench GM mode is enabled,
currentSecsSinceEpoch()truncates the host timestamp to a whole second before the command is queued and transmitted. The firmware then treats command receipt as that second boundary and reconstructs nanoseconds only from subsequent board-monotonic elapsed time, so the advertised PTP clock can be offset from UTC by nearly one second plus transport latency while declaringwithin_1_usaccuracy and time traceability. Send a seconds-plus-subseconds timestamp with a correlated monotonic sample, or downgrade the advertised accuracy/traceability.AGENTS.md reference: AGENTS.md:L172-L180
Useful? React with 👍 / 👎.