I have a question regarding possibility of modifying time/timestamp of Log messages.
What I try to do is create some plugin for adjusting time of messages.
I import dlt stream, and then only timestamps of messages are valid (I assume that time of messages in file is created basing on time they has been imported).
But the idea is to parse all the logs against logs with Time syncronization (and setup correct time of frames basing on real time).
The time sync logs are sent with constant interval, so using the date and time from logs I could update the time of logs.
I generally try to be able to modify the time of frames basing on sync points, real time of sync points and timestamp of frames.
Then I would want to load log from another MCU containing real time, and sort messages by time to have correct relations of logs for both MCUs.
I tried with creating control plugin to be able to read all messages in the imported file.
I used initFileFinish function to process all messages and obtain all sync points for time.
At this point I can construct hashmap containing real time for each frame, but I'm unable to update the messages to the correct time.
So I tried to implement also decoder plugin interface, to be able to modify messages passed in decodeMsg (mofify the time).
Unfortunately in decodeMsg function I have no information about the message index, to be able to update message time repectively to real time information.
So maybe someone could advice some solution for that kind of approach.
Pozdrawiam / Kind Regards
Senior Software Engineer
Bury Sp. z o.o.
ul. Wspolna 2A
Tel: +48 (0) 17 773 87 67
Fax: +48 (0) 17 773 88 01
Mobile: +48 (0) 663 85 01 45
W związku z wejściem w życie przepisów Ogólnego Rozporządzenia o Ochronie Danych Osobowych (tzw. RODO), BURY Sp. z o.o. z siedzibą w Mielcu, spełniając swój ustawowy obowiązek, umożliwia Państwu zapoznanie się z informacjami dotyczącymi przetwarzania Państwa danych osobowych przez BURY Sp. z o.o.
Following the entry into force of the General Data Protection Regulation (so-called GDPR), BURY Sp. z o.o. based in Mielec, fulfilling its statutory duty, enables you to become familiar with the information concerning the processing of your personal data by BURY Sp. z o.o.