Il 03/05/2013 01:57, Simon PurplePlaNET ha scritto:
Hi folks,
I've been messing around with rtl_tcp and an RTL2832 device on a Raspberry Pi and
want to add a bank of front end filters and a LNA that can be controlled by the GPIO.
I want to allow manual control of the signal path via a web page hosted on the Pi, but
also want to be able to have the filters selected automatically based on the frequency
that the RTL device is tuned to.
I noticed that rtl_tcp helpfully echos the frequency changes to the console, so I wrote a
simple shell script to gather this data and control the GPIO.
Somebody may have already done this and there is probably a better way to achieve it but,
if this would be of any use to you, please feel free to copy and use as you wish.
http://www.purpleplanet.org/?q=rtl-robot
Cheers,
Simon
Just tryed this command:
stdbuf --output=0 rtl_tcp -a 192.168.2.15 -p 1234 > rtl.data
I don't have anything connected to the gpio pins...but i cannot see any
output from your script while changing freqs...(yes, i've gone below
100mhz and above 500mhz).
It's quite strange....the rtl.data is created in the same folder of your
script...
Taking a look at rtl.data, it contains the correct output of the
standard output of rtl_tcp.
Any idea?