Skip to content
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

Support for extended subevent header added, now with DRP rx latency f… #26

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

rrivera747
Copy link
Contributor

…rom each link.

@rrivera747 rrivera747 requested review from eflumerf and corrodis April 6, 2024 14:28
@eflumerf eflumerf merged commit 3c5e49a into develop Apr 8, 2024
@eflumerf eflumerf deleted the rrivera/supportForExtendedSubeventHeader branch April 8, 2024 12:44
@@ -952,6 +959,12 @@ void DTCLib::DTC_SubEvent::SetupSubEvent()
auto ptr = reinterpret_cast<const uint8_t*>(buffer_ptr_);

memcpy(&header_, ptr, sizeof(header_));
if(header_.subevent_format_version != REQUIRED_SUBEVENT_FORMAT_VERSION)
{
TLOG(TLVL_ERROR) << "A DTC_WrongPacketTypeException occurred while setting up a DTC Subevent in the header format version 0x" <<
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll note that this code will break all existing data files (e.g. GR-1), since it will no longer be able to read the raw data from DTC_SubEvents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants