jvankatwijk / rtlsdr-emulator-sdrplay Goto Github PK
View Code? Open in Web Editor NEWrtlsdr emulator: How to run rtlsdr software with an SDRplay device (renewed for windows)
License: GNU General Public License v2.0
rtlsdr emulator: How to run rtlsdr software with an SDRplay device (renewed for windows)
License: GNU General Public License v2.0
On raspbian Buster, the following
git clone https://github.com/JvanKatwijk/rtlsdr-emulator-sdrplay.git
cd rtlsdr-emulator-sdrplay
make -f Makefile.Linux all
resulted in make errors:
gcc -O2 -fPIC -g -shared -I . -o librtlsdr.so rtlsdr-bridge.c signal-queue.c gains.c -lmirsdrapi-rsp
rtlsdr-bridge.c: In function ‘rtlsdr_close’:
rtlsdr-bridge.c:523:19: error: ‘struct rtlsdr_dev’ has no member named ‘widgetHandle’
if (devDescriptor. widgetHandle != NULL)
^
rtlsdr-bridge.c:524:5: warning: implicit declaration of function ‘DestroyWindow’ [-Wimplicit-function-declaration]
DestroyWindow (devDescriptor. widgetHandle);
^~~~~~~~~~~~~
rtlsdr-bridge.c:524:33: error: ‘struct rtlsdr_dev’ has no member named ‘widgetHandle’
DestroyWindow (devDescriptor. widgetHandle);
^
rtlsdr-bridge.c:525:15: error: ‘struct rtlsdr_dev’ has no member named ‘widgetHandle’
devDescriptor. widgetHandle = NULL;
^
make: *** [Makefile.Linux:5: librtlsdr.so] Error 1`
There appears to be confusion between the Windows and Linux versions. Or do I have a missing dependency? I tried this with and without armv7l API Version: 2.13 installed.
Regards, Dirk
gcc -O2 -fPIC -shared -I . -o librtlsdr.o rtlsdr-bridge.c -lmiradrapi-rsp
should be gcc -O2 -fPIC -shared -I . -o librtlsdr.o rtlsdr-bridge.c -lmirsdrapi-rsp
On a SDR2, Raspberry Pi 4 running Raspbian Buster, with SDRPlay API/HW Driver – v2.13 (20th Jun 2018), SDRPlay's rsp_tcp works.
However, using the emulator librtlsdr.so, I get Error at set_ifgain GainUpdateError (45 3)
:
pi@sdrpi:~ $ rtl_test
Found 1 device(s):
0: sdrplay.com, SDRplay_RSPII_VID_1DF7&PID_3010_BUS_001_PORT_003, SN: 170802A220
name for 0-th device = SDRplay_RSPII_VID_1DF7&PID_3010_BUS_001_PORT_003
Using device 0: SDRplay_RSPII_VID_1DF7&PID_3010_BUS_001_PORT_003
Supported gain values (11): 0 100 200 250 300 350 400 450 500 550 6000.0 10.0 20.0 25.0 30.0 35.0 40.0 45.0 50.0 55.0 60.0
Sampling at 2048000 S/s.
Info: This tool will continuously read from the device, and report if samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
Error at set_ifgain GainUpdateError (45 3)
lost at least 3756891 bytes
lost at least 3295992 bytes
lost at least 3370282 bytes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.