Closed spaulaus closed 6 years ago
The issue was in XiaListModeDataMask::ConvertStringToFirmware()
. The limits for the conversion were wrong so we were using the wrong data mask with 34455. I adjusted the limits and everything's hunky dory now.
Scans without losing any data.
Woaho!!!
Expected Behavior
Trace lengths are decoded properly while unpacking the XIA data buffers.
Current Behavior
Firmware 34455 doesn't seem to be decoding the trace properly. When the scan runs we get inundated with error messages. They're all from
XiaListModeDataDecoder::ReadBuffer()
method. The error occurs when the trace length + header doesn't match the event length.Context
Well, I'm missing big swaths of data, as seen in Issue #120. What's interesting is that this error doesn't kill the scan all the time, which means that sometimes it's decoding properly, but other times its not. I have a feeling this is a symptom of the issue described in Issue #18.
Possible Solution (optional)
Fix the trace length decoding for that firmware revision.
Acceptance Criteria
Bug Report
Your Environment
Steps to Reproduce
Error Logs