Detection milliseconds signal using a DVB-T dongle as SDR in C (need idea) I have probably amateurish problem. Assume that we have a USB tuner DVB-T + connected antenna.

I would like to write a program that will detect the signals of at most a few milliseconds.

Signal looks classically as follows:



Someone can help me how to do it? I want to write it in C.

Edit: I do not need, of course, the final code. I need ideas.

Edit-2:

I add details of the signal:

Frequency: approx. $850 MHz$ (may be more)

The measurement of dispersion: $&gt; 250 pc.cm^{-3}$

The length of the signal: $&gt; 0.01 ms$

Peak Flux: (I'm not sure what value we can get)
Your C program can link to librtlsdr (source available on github), set the frequency and sample rate, then filter the incoming IQ sample stream from the RTL USB dongle (demodulate if necessary), and (one possibile algorithm out of many) implement an envelope matched filter.