NetHome / ProtocolAnalyzer

The Protocol Analyzer is a small tool that can catch, analyze and decode “slow” pulse based protocols.
GNU General Public License v3.0
29 stars 8 forks source link

Jamming the data in from another source #2

Open freman opened 7 years ago

freman commented 7 years ago

Hi there,

I admire the simplicity of using a microphone/line in source for the protocol analyzer but I have a csv dump from a waveform captured on my scope, It'd be super awesome if I could import that :D

Perhaps some documentation on the JIR format and I could convert my data to match?

stefangs commented 7 years ago

Hi

Thanks for the interest! Unfortunately, this tool was written in my early days of learning Java, and I made some bad design choices which are not changed. One of those is the .gir format which is actually serialized java objects. The format is an serialized int (number of messages) followed by serialized objects of the type: https://github.com/NetHome/Utils/blob/master/src/main/java/nu/nethome/util/ps/RawProtocolMessage.java

If you are Java savvy, you can perhaps write a small program that can convert your data?