hardbyte / hardbyte/python-can

blf FIle Metadata

Aperta
#1,820 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
1.6k
Fork
697
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is your feature request related to a problem? Please describe.
When using the `BLFReader()`, file metadata is scarce (file, object_count, sizes, timestamps). Some other information would be very interesting, like applications that created the file and especially the channel list and channel types.

### Describe the solution you'd like
Add more metadata to the blf object, namely application name and especially channel information. This should be in the file metadata since other software (namely MATLAB) produces fairly detailed data on channels before loading actual data, like
```
ChannelID Protocol Objects
_________ ________ _______

1 "CAN" 0
2 "CAN FD" 6048410
3 "CAN" 5782778
4 "CAN FD" 0
```

This can really help parsing the file. Alternatives see below

### Describe alternatives you've considered
When running through the message genarator, messages contain the channel attribute. This is just an `int` value which suffices to sort the messages but has no informations as shown above.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.