rtl-sdr | A modern Node.js wrapper around the librtlsdr library | Runtime Evironment library
kandi X-RAY | rtl-sdr Summary
kandi X-RAY | rtl-sdr Summary
A modern Node.js wrapper around the librtlsdr library
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rtl-sdr
rtl-sdr Key Features
rtl-sdr Examples and Code Snippets
const rtlsdr = require('rtl-sdr')
// Get number of connected RTLSDR devices
const deviceCount = rtlsdr.get_device_count()
if (!deviceCount) {
console.log('No supported RTLSDR devices found')
process.exit(1)
}
console.log('Found %d device(s):',
Community Discussions
Trending Discussions on rtl-sdr
QUESTION
I have a program, rtl_433
, that outputs lines of JSON - maybe once or twice a minute, while it's running. I need to pipe that data as HTTP POST
data to curl.
What complicates matters is that this string needs to be encapsulated in single quotes, which they're not, so I need to add that before shipping it to curl
.
Now, here's the thing: This works just fine:
...ANSWER
Answered 2022-Feb-16 at 08:42The problem here is that rtl_433
never exits, it just keeps printing lines for every message it receives.
This is a problem because curl
is going to wait until it receives an EOF (end of file) marker to know when it has received all payload it needs to send to in the HTTP request, but of course it never gets this. The EOF would be automatically added when rtl_433
exited.
Your best bet is probable to move from a one line script to a proper bash command reads from rtl_433
a line at a time and then runs sed
on that line before passing it to curl.
e.g.
QUESTION
I'm trying to get a RTL-SDR source block (or osmo sdr, since they both work) in GNU Radio, and it apparently must be obtained via the following command lines:
...ANSWER
Answered 2021-May-28 at 11:14Okay I got it!
This guy goes over the required libraries
https://www.youtube.com/watch?v=2IWtEkAHXFI
I was missing swig, and afterwards I was also missing liborc-0.4-dev
They can be installed via:
QUESTION
I'm trying to make an FM radio that would search for radio stations automatically and then let the user choose a station using an rtl-sdr. I wanted to use a QT GUI Chooser block to show the found channels, however now I don't think this would work, I did a few tests and then noticed the parameters for list values and labels are not underlined (which I understand means run-time adjustable). Is there a way to make this work or anything else I could use?
I'm using gnuradio 3.8.1 .
...ANSWER
Answered 2021-Jan-09 at 21:30Labels for Qt GUI Chooser are not exposed to modifications at run-time. However, Gnuradio companion flowgraph generates a python script with Qt application. These Qt parameters are accessible from the top_class top_block_cls()
.
Assuming a simple flowgraph with only 'QT GUI Chooser', you can add a 'Python Snippet' block to populate the GUI chooser. For instance, insert:
QUESTION
I am trying to interface with an MSI SDR dongle, using an android app
This device is a clone of the SDRPlay SDR device, and is compatible with it's software and drivers
I am trying to interface with this using an OTG cable and android phone
The android drivers for this can be downloaded from here https://www.sdrplay.com/downloads/
It is in the Android tab under the API/HW – V2.11 (15TH NOV 2017) link (https://www.sdrplay.com/anddl.php)
A possible sample code for this driver can be found here: https://www.sdrplay.com/docs/AndroidIntegrationNote.pdf
Before making the full android program it says the library (libmir_sdr_api.a) should be built into an .so library file using ndk-build
I currently have Android's hello-jni sample project from here: https://github.com/android/ndk-samples/tree/android-mk/hello-jni
I have replaced the jni folder using the Android.mk file, libmir_sdr_api.a, mir_sdr.h, initialization-jni.cpp, demod-jni.cpp and demod-jni.h files mentioned in section 3 of the AndroidIntegrationNote.pdf file I linked above
When I execute ndk-build from the hello-jni project folder, I get he following error:
...ANSWER
Answered 2020-Jun-04 at 09:25Regarding missing jni/initialisation-jni.cpp
, you probably have the file jni/initiali
zation-jni.cpp
instead.
Also, unfortunately, the document is wrong. You can only use $(call my-dir)
easily at the top of the file. Luckily, Android NDK adds the jni directory to includes path for you. Still, to be on the safe side, better write:
QUESTION
I have been using SDRSharp for quite some time, listening to various stations, and I wanted to divulge more into how I can create tools using GNURadio.
I downloaded GNURadio Companion 3.8.0.0 and ran through the first three lessons.
I was following lessons from the official GNURadio.Wiki using the said V3 RTL-SDR Dongle (RTL2832U R820T2 TCX0 + BIAST + HF)
I have encountered trouble when creating the FM receiver as per lessons. Due to my hardware being different than what the lesson used, I did make a few revisions to the parameters of the flow graph.
- I used a sample rate of 2.4e6 (2.4 MS/s) which is the max stable sample rate of the said dongle
- I used the RTL-SDR Source Block as opposed to the UHD Block
- I set the stop frequency to 2e9 as this dongle will not go as high as 6GHz
After these changes, I assume all is set, and Generate/Execute the flow graph. I am greeted with the following error:
...ANSWER
Answered 2020-Apr-22 at 19:57To give you a better answer, please answer the following questions: - what OS are you using? - how did you load GNU Radio 3.8? - have you tried using pip3 and python3? Try running the procedures in https://wiki.gnuradio.org/index.php/ModuleNotFoundError
You say "I downloaded GNURadio Companion 3.8.0.0", but you didn't say your source for it. Did you build the flowgraph yourself with GNURadio Companion 3.8.0.0, or did you load the https://raw.githubusercontent.com/gnuradio/gr-tutorial/master/examples/tutorial6/gr-tutorial-broadcast-fm-rx.grc ? It was written for GR 3.7.
Try this: - terminate SDRSharp - eject your dongle - reboot your computer - connect the dongle - try it again
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rtl-sdr
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page