This is what happend, my previous RTL-SDR receiver had some problems, the link usually lost after few days. So I bought a second-hand rsp1 to replace the previous receiver. After doing some research, I found that seems piaware image on raspbian does not support RSP by default.
Can I adjust some settings in the image to support rsp1? Or do I need to start somewhere else? Sorry I am a complete beginner. I have tried to find some tutorials about setting up rsp, but it seems that there are no tutorials on the network.
There is a version of dump1090 for the rsp1 available on the SDRPlay website - it does allow 8MHz sample rate, but I don’t know if it has any other decoder optimisations for the hardware.
Try this version of dump1090-fa, with this version it’s no need to install sdrplay api.
It’s support RSP1 and other devices based on msi2500 and msi001.
I installed the tool as you said, but I still got errors. What went wrong?
sdr_miri.c:34:5: error: unknown type name ‘mirisdr_hw_flavour_t’
34 | mirisdr_hw_flavour_t hw_flavour;
| ^~~~~~~~~~~~~~~~~~~~
sdr_miri.c: In function ‘miriInitConfig’:
sdr_miri.c:55:23: error: ‘MIRISDR_HW_DEFAULT’ undeclared (first use in this function)
55 | MIRI.hw_flavour = MIRISDR_HW_DEFAULT;
| ^~~~~~~~~~~~~~~~~~
sdr_miri.c:55:23: note: each undeclared identifier is reported only once for each function it appears in
sdr_miri.c: In function ‘miriHandleOption’:
sdr_miri.c:78:31: error: ‘MIRISDR_HW_SDRPLAY’ undeclared (first use in this function)
78 | MIRI.hw_flavour = MIRISDR_HW_SDRPLAY;
| ^~~~~~~~~~~~~~~~~~
sdr_miri.c: In function ‘miriOpen’:
sdr_miri.c:124:5: error: implicit declaration of function ‘mirisdr_set_hw_flavour’ [-Werror=implicit-function-declaration]
124 | mirisdr_set_hw_flavour(MIRI.dev, MIRI.hw_flavour);
| ^~~~~~~~~~~~~~~~~~~~~~
sdr_miri.c:137:5: error: implicit declaration of function ‘mirisdr_set_sample_format’; did you mean ‘mirisdr_set_sample_rate’? [-Werror=implicit-function-declaration]
137 | mirisdr_set_sample_format(MIRI.dev, "252_S16");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| mirisdr_set_sample_rate
cc -DSTACK_LINE_READER_BUFFER_SIZE=1024 -DNDEBUG -Icpu_features/include -DHAVE_STRONG_GETAUXVAL -O3 -g -std=c99 -c cpu_features/src/filesystem.c -o cpu_features/src/filesystem.o
sdr_miri.c:140:5: error: implicit declaration of function ‘mirisdr_set_transfer’ [-Werror=implicit-function-declaration]
140 | mirisdr_set_transfer(MIRI.dev, MIRI.transfer_type );
| ^~~~~~~~~~~~~~~~~~~~
sdr_miri.c:143:5: error: implicit declaration of function ‘mirisdr_set_if_freq’; did you mean ‘mirisdr_set_center_freq’? [-Werror=implicit-function-declaration]
143 | mirisdr_set_if_freq(MIRI.dev, 0);
| ^~~~~~~~~~~~~~~~~~~
| mirisdr_set_center_freq
sdr_miri.c:146:9: error: implicit declaration of function ‘mirisdr_set_bandwidth’ [-Werror=implicit-function-declaration]
146 | r = mirisdr_set_bandwidth(MIRI.dev, MIRI.bandwidth);
| ^~~~~~~~~~~~~~~~~~~~~
sdr_miri.c: In function ‘miriRun’:
sdr_miri.c:250:62: error: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint32_t’ {aka ‘unsigned int’} [-Werror=format=]
250 | fprintf(stderr, "miri: out_block_size: %d buffer size %ld \n", out_block_size, (out_block_size * sizeof(uint8_t)));
| ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long int uint32_t {aka unsigned int}
| %d
cc1: all warnings being treated as errors
make: *** [Makefile:215: sdr_miri.o] Error 1
make: *** Waiting for unfinished jobs....