Hi,
I would like to decode the ping data bin files with a program written in python.
Is there a document showing the format of the .bin file?
Thanks,
Best Regards,
Nico
Hi,
I would like to decode the ping data bin files with a program written in python.
Is there a document showing the format of the .bin file?
Thanks,
Best Regards,
Nico
It is simply a stream of Ping Protocol packets.
Ah so. I have a program that just parses Ping Packets and it’s obviously just ignoring the header so I didn’t realize it was even there.
If possible I would be interested to see your program.
If you are ok, can you send it to contact@awdrone.fr
Sorry, it’s part of a large project, so not in any condition to share without a lot of work.
Hi @AWDRONE,
The log file that ping-viewer provides has a header description structure that allows program to identify:
You can check the header structure definition here:
After that, you’ll get the timestamp plus binary data of the ping messages defined in the protocol.
Hi @AWDRONE,
I did a simple example in python that fetchs the header and each message with timestamp,
it’s still necessary to decode the log, but it shows how the log file is constructed and how you can process it.