ericek111 / libmirisdr-5

Support of Mirics MSi001 + MSi2500 SDR devices
GNU General Public License v2.0
27 stars 9 forks source link

rtl_433 support #5

Open iwikus opened 1 year ago

iwikus commented 1 year ago

Hi, according to page https://revspace.nl/Msi2500SDR rtl_433 should be supported, but I can not get decoded any data:

Protocols] Registered 211 out of 245 device decoding protocols
[Input] The internals of input handling changed, read about and report problems on PR #1978
[SoapySDR] Opening Mirics MSi2500 default (e.g. VTX3D card) :: 00000001...
Using device RSP1: index=0 origin=https://github.com/ericek111/SoapyMiri 
Found 1 antenna(s): RX 
Found 5 gain(s): Automatic 0 - 206 (step 0) LNA 0 - 206 (step 0) Baseband 0 - 206 (step 0) Mixer 0 - 206 (step 0) Mixbuffer 0 - 206 (step 0) 
Found 1 frequencies: RF 
Found 1 frequency range(s): 0 - 2000000000 (step 0) 
Found 10 sample rate range(s): 1300000 1536000 2048000 5000000 6000000 7000000 8000000 9000000 10000000 12000000 
Found 8 bandwidth range(s): 200000 - 200000 (step 0) 300000 - 300000 (step 0) 600000 - 600000 (step 0) 1536000 - 1536000 (step 0) 5000000 - 5000000 (step 0) 6000000 - 6000000 (step 0) 7000000 - 7000000 (step 0) 8000000 - 8000000 (step 0) 
Found current bandwidth 8000000
Found 2 stream format(s): CS16 CF32 
Found native stream format: CS16 (full scale: 65536.0)
[SoapySDR] SoapyMiri: CS16 format is untested!
[SDR] Sample rate set to 2048000 S/s.
[Input] Bit detection level set to 0.0 (Auto).
[Input] Reading samples in async mode...
[SDR] Tuned to 433.920MHz.

Not sure if it is caused by warning in line [SoapySDR] SoapyMiri: CS16 format is untested! Is it possible to select different format for rtl_433? How?

ericek111 commented 1 year ago

Hm, I think rtl_433 used to work fine with SoapyMiri. I'm not sure. You're actually using SoapyMiri, which should be responsible for any conversions. While the CS16 format is supported, I'm not sure if I've implemented it correctly.

Anyway, as a workaround, I'd recommend using the rtl_tcp server built into my fork of SDRPlusPlus. Simply add the module and it will present a slice of the spectrum over TCP. Then you can use any rtl_tcp-compatible program: rtl_433 -d rtl_tcp:127.0.0.1:12500 -s 500k