Skip to content

Comments

Populate timestamp in LinControllerStatusUpdate message#297

Open
snps-kratz wants to merge 2 commits intomainfrom
lin_controller_status_timestamp
Open

Populate timestamp in LinControllerStatusUpdate message#297
snps-kratz wants to merge 2 commits intomainfrom
lin_controller_status_timestamp

Conversation

@snps-kratz
Copy link
Collaborator

Subject

Initializes the timestamp variable on the LinControllerStatusUpdate message send in LinController::SetControllerStatusInternal.
Adds test conditions that check the timestamp of the LinControllerStatusUpdate message.

Description

This change fixes inconsistent logging behavior for trace logs. Originally, the timestamp field was uninitialized, leading to trace logs with timestamps that would not match simulation timestamps.
Additionally, this change populates the timestamp received by network simulators in OnControllerStatusUpdate function calls.

Instructions for review / testing

Since the tests have been changed, correctness in those should be focused.

Developer checklist (address before review)

  • Changelog.md updated
  • Prepared update for depending repositories
  • Documentation updated (public API changes only)
  • API docstrings updated (public API changes only)
  • Rebase → commit history clean
  • Squash and merge → proper PR title

@snps-kratz snps-kratz added the bug Something isn't working label Feb 17, 2026
…erStatusInternal

Signed-off-by: Felix Kratz <felix.kratz@synopsys.com>
Signed-off-by: Felix Kratz <felix.kratz@synopsys.com>
@snps-kratz snps-kratz force-pushed the lin_controller_status_timestamp branch from 35d66d6 to 0548b12 Compare February 17, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant