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

Log Format Add Request #823

Open
ba05 opened this issue Jul 31, 2024 · 2 comments
Open

Log Format Add Request #823

ba05 opened this issue Jul 31, 2024 · 2 comments

Comments

@ba05
Copy link

ba05 commented Jul 31, 2024

Is it possible to read logs in this format? If not what would be involved in adding this functionality?

2011-04-25-10:16:43.004,2,127250,3,255,8,ff,8b,0a,ff,7f,ff,7f,fd
2020-08-22T13:53:01.536Z,7,65313,17,255,8,13,99,ff,7f,ff,ff,ff,ff
2011-04-25-10:15:37.690,6,59392,3,12,8,01,ff,ff,ff,ff,34,ff,00
2021-01-27T23:34:19.539Z,3,129029,1,255,43,ff,de,48,48,af,94,32,70,eb,69,fd,aa,6d,bc,01,00,d7,1b,22,44,ef,47,f6,88,82,ac,fe,ff,ff,ff,ff,24,fc,1b,32,00,46,00,80,f8,ff,ff,00
2020-08-22T13:53:02.193Z,2,129025,127,255,8,b0,dd,b1,1f,1b,2f,3d,03
2020-08-22T13:52:57.591Z,7,126993,6,255,8,60,ea,24,ff,ff,ff,ff,ff

Link to log from canboat GitHub project

I think this format is "Actisense" format.

@collin80
Copy link
Owner

It's probably possible. But, it sure would help if I knew what all the fields mean. At first I thought it was
TimeStamp, Length, ID, byte0, byte1, etc but it's not.
The second number certainly isn't length like I thought. I'll have to dig into their code a bit to figure out what each field is.

Also, quite a lot of the traffic listed is well over 8 bytes. Some lines might even be over 64 bytes. SavvyCAN is capable of loading CAN-FD frames where there are up to 64 bytes. The file you linked to isn't raw CAN traffic but rather NMEA traffic already collected into messages from the individual frames. It might not be that easy to import.

@ba05
Copy link
Author

ba05 commented Aug 5, 2024

I believe the data is NMEA 2000 and the messages over 64 bytes are from fast packet messages that have been combined. Am I understanding correctly that *.dbc files cannot specify fast packet message format? Would be amazing if could also specify a JSON decode file such as this one https://github.com/canboat/canboat/blob/master/analyzer/pgns.json#L20161 that handle NMEA 2000 (fastpacket) data.

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

No branches or pull requests

2 participants