kpreid / shinysdr

Software-defined radio receiver application built on GNU Radio with a web-based UI and plugins. In development, usable but incomplete. Compatible with RTL-SDR.
https://shinysdr.switchb.org/
GNU General Public License v3.0
1.08k stars 115 forks source link

Allow conveniently receiving signal from external GNU Radio application #77

Open robellebor opened 7 years ago

robellebor commented 7 years ago

when i write the command " shinysdr --create config-dir-name" it says like this INFO:shinysdr:Log opened. The following files are missing: RequireJS (Check: /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/deps/text.js does not exist.) RequireJS (Check: /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/deps/require.js does not exist.) Jasmine (Check: /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/deps/jasmine does not exist.) Please (re)run fetch-js-deps.sh and, if applicable, setup.py install. INFO:shinysdr:Main loop terminated.

can someone help me please !!!!

kpreid commented 7 years ago

As the error message says, you need to run fetch-js-deps.sh. For more information, see the full installation instructions at https://kpreid.github.io/shinysdr/manual/installation starting at step 2.

robellebor commented 7 years ago

thank you very much .....

fact .. it took almost two days to install , because of slow Internet connection .... u can guess where am from .... lol

robellebor commented 7 years ago

by the way , is connecting a hardware device to my computer a MUST ???i know i have to put my device here "config.devices.add(u'osmo', OsmoSDRDevice(''))"......but, cant i just run a sample in my gnuradio and watch it in the browser ??

robellebor commented 7 years ago

owwww... this line

Locally generated RF signals for test purposes.

config.devices.add(u'sim', SimulatedDevice()) how do i edit it to connect it with my gnuradio

kpreid commented 7 years ago

Interesting, I hadn't thought of that application before. Let me think about how to do it well.

There are two ways that you can already use code from GNU Radio Companion:

  1. Define a new device (“fake hardware”). Unfortunately there is no good simple sample code for this, but you can look for the instances of implements(IRXDriver) for the complicated ones.
  2. Define a hier block which acts as a modulator, which can then participate in SimulatedDevice. This is simpler than a device but more limited. Search for implements(IModulator) and ModeDef to see examples.

But it would make sense to be able to just connect (over a socket or whatever) to something else locally that has its own UI (or not) and that you just want to inspect.

I will see what I can come up with for you!