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.07k stars 115 forks source link

Upgrade rtl_433 interface #128

Closed Flupsy closed 5 years ago

Flupsy commented 5 years ago

With the latest rtl_433 shinysdr stops working when this mode is selected because it passes -m 3 to rtl_433, and that option just makes rtl_433 spit out a usage message and exit.

See this code from rtl_433.c:

case 'm':
    fprintf(stderr, "sample mode option is deprecated.\n");
    usage(NULL, 0, 1);
    break;
kpreid commented 5 years ago

I've fixed the options so that rtl_433 18.12 will run, but now it never decodes anything. Will need to investigate further. I'm not publishing the change to the options because then at least the old version of rtl_433 will work.

kpreid commented 5 years ago

It turns out that the lack of decoding was apparently due to a rtl_433 bug fixed 3 days ago: https://github.com/merbanan/rtl_433/pull/1009 https://github.com/merbanan/rtl_433/commit/138996e473a4738d4f4b8f4f5db8665ded77d0e9

ShinySDR as of 040671de51bb6aa5b282207635c99428e18a1663 works with current rtl_433. There is no numbered rtl_433 release to refer to yet.

mathisono commented 5 years ago

So ? Was there a modification to our code base or just the rtl_433?

Im going to take this opportunity to say that the documentation could include a little more detail on how to duplicate/configure plugins. Like if if one wanted to duplicate the aprs plugin for 9600bps and have 2 aprs modes as options in the ui.

Neet tool this is...!

73 Mathison

On Sun, Mar 17, 2019, 11:03 AM Kevin Reid notifications@github.com wrote:

It turns out that the lack of decoding was apparently due to a rtl_433 bug fixed 3 days ago: merbanan/rtl_433#1009 https://github.com/merbanan/rtl_433/pull/1009 merbanan/rtl_433@138996e https://github.com/merbanan/rtl_433/commit/138996e473a4738d4f4b8f4f5db8665ded77d0e9

ShinySDR as of 040671d https://github.com/kpreid/shinysdr/commit/040671de51bb6aa5b282207635c99428e18a1663 works with current rtl_433. There is no numbered rtl_433 release to refer to yet.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kpreid/shinysdr/issues/128#issuecomment-473690043, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlvLO-URiA7cKFSA_PJGdIwzoIa2ReOks5vXoNxgaJpZM4a1GF1 .

kpreid commented 5 years ago

So ? Was there a modification to our code base or just the rtl_433?

Sorry, I can see now that wasn't entirely clear.

Im going to take this opportunity to say …

To keep things well organized for everyone's reading, it is much better to file separate issues.

… that the documentation could include a little more detail on how to duplicate/configure plugins. … if one wanted to duplicate the aprs plugin for 9600bps and have 2 aprs modes as options in the ui.

The documentation is short because ShinySDR's interfaces are not particularly stable, so I don't want to write documentation that becomes obsolete and confusing until things are nailed down better. The best place to start is looking at the existing plugins.

But you don't need to duplicate a plugin to add an option. Plugins can define as many modes as they like (for example, basic_demod defines all of AM FM WFM CW USB LSB and shares code between them).

I'll see if I can think of some documentation improvements. For any further matters, please open a separate issue.