Hi,

You can type this to a gr-osmosdr block in GNU Radio. I doubt that GNU Radio would be easy to compile on Android.

If you want to write your own client that processes I/Q data, you should look at rtl_tcp source code, it's quite self-documenting.

Anyway, some key points: if you open a TCP connection to the rtl_tcp server, it immediately starts to send you the 8-bit I/Q samples acquired from the dongle. Every odd byte is an I, every even byte is a Q sample.

You can control rtl_tcp with five byte commands. Look for "switch(cmd.cmd)" and "struct command" in the source code.

When your client connects, it also gets 12 bytes with the dongle identifier at the beginning of the stream, but it can be ignored. Look for "dongle_info_t" if interested.

You will need to process the I/Q data yourself and calculate FFT to draw the waterfall.

Regards,

Andras, HA7ILM




2014/1/18 393775602 <393775602@qq.com>
thanks to all of u,i have start the rtl_tcp and see the log like:
rtl_tcp -a 127.0.0.1 -p 14423 -f 91800000 -s 1024000
Found 1 device(s).
Found Fitipower FC0013 tuner
Using Terratec NOXON DAB/DAB+ USB dongle (rev 1)
Tuned to 
91800000 Hz.
listening...
Use the device argument 'rtl_tcp=127.0.0.1:14423' in OsmoSDR (gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).


my question now is what should i do next?where should i type command rtl_tcp=127.0.0.1:14423
to get the fft specturm data?

------------------ 原始邮件 ------------------
发件人: "András Retzle";<retzlerandras@gmail.com>;
发送时间: 2014年1月16日(星期四) 晚上11:56
收件人: ""<393775602@qq.com>;
抄送: "osmocom-sdr"<osmocom-sdr@lists.osmocom.org>;
主题: Re: Elonics 4000 bandpass

Hi,


i want to write an android app with the Realtek DVB-T Dongles ,is there any librtlsdr API for android?

What about these?

https://play.google.com/store/apps/details?id=marto.rtl_tcp_andro

Regards,

Andras, HA7ILM