Skip to content

Simple utility that can be used to parse raw data from XCTU into a CSV file.

Notifications You must be signed in to change notification settings

McGillRocketTeam/XCTU-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XCTU-Parser

Simple utility that can be used to parse raw data from XCTU into a CSV file.

So what does it do?

It's simple, it scans the file line per line. If it sees a SENT entry with 10 hexadecimal numbers (shown in orange), it takes the timestamp (shown in red) and last 4 hexadecimal digits (shown in green) converted to decimal of the next line and adds it to the ouput file as an entry.

If the data is not complete (i.e. 2 digits in one packet and 4 in the next one), the parser will try to finish it by looking at the next received message.

alt text

Notes

  • It needs a filename (for the input data) parameter to run. If you run it in eclipse, you might want to specify the filename of your test data in your run configuration.
  • Don't forget to comment out the debugging print statements if you are going to parse a large file. Well, at least if you don't want to fill your console with redundant messages.

Thanks

  • Ibrahim Miraj: For his initial work on the parser logic and for providing detailed information on the logfiles' structure.

About

Simple utility that can be used to parse raw data from XCTU into a CSV file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages