Feature/signal real timestamp
Adding timestamps to Recorded Signals and ProtocolAnalyzer messages Adding timestamps to messages generated in ProtocolSniffer
Before this PR, signals and messages interpreted by protocol analyzer, had no real timestamps; just some relative time measurements between each messages in signal. Now timestamps are absolute and are saved into proto.xml files correctly for future reference.
Physical test carried with HackRf One (Native)
@jopohl Let me know if you need further information.
@jopohl let me know if further changes are required ;)
@jpacov could you please sign the CLA? Probably it wants that again due to the force-push or something.
Dne @jopohl . It was a problem with 2 accounts mixed. Signed with both now.
@jopohl can we merge now?
@jopohl I tested more extensively the timestamps, and made some changes and small fixes. I also added some small unit tests for the ProtocolSniffer as you requested. Let me know if that is enough.
@jpacov sorry for late reply, could you please pull in latest changes from master? I just updated the CI to support more recent Python versions and like to ensure your changes are compatible.
With this MR, timestamps for decoded messages are calculated correctly (useful when exporting decoded messages). Working for signals recorded on Record signal window, Sniff protocol window and for signals derivated from other signals (e.g. after filtering a signal).
Here an example:
@jpacov sorry for late reply, could you please pull in latest changes from master? I just updated the CI to support more recent Python versions and like to ensure your changes are compatible.
@jopohl Done. Let me know if further actions are needed.
Thank you for your contribution.