Hi

There were no replies to this patch. Is there something wrong with it?

Thanks
Tomaž

On 07/04/2012 04:29 PM, Tomaž Šolc wrote:
> Hi
> 
> I had a binary file that I needed to decode using UART decoder. UART
> decoder needs to know the sample rate for the data, but currently it's
> not possible to pass parameters to input formats and so the "binary"
> file format always sets the samplerate to 0.
> 
> This patch adds the possibility to append a colon-separated list of
> key=value options to the -I argument, in the same way -d supports it.
> Also, it makes the "binary" format support the "samplerate" option.
> 
> I included the GHashTable containing input format options directly in
> the sr_input struct. I'm not sure if that's the right way to do it. I
> saw that -d uses a much more elaborate system with device capabilities
> and typed options, but that seemed like an overkill for input formats.
> 
> Best regards
> Tomaž

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to