f4exb / libmirisdr-4

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

Minimal test program? #10

Closed MarkMLl closed 2 years ago

MarkMLl commented 2 years ago

Is there a minimal test program for this? I'm the "proud owner" of one of the BG7YZF cards with 5x SMA connectors, and while my development system has accumulated various versions of Osmocom etc. over the years I think it would be useful to be able to run something to establish basic confidence that the hardware was working as expected and wasn't being nadgered by background system software (e.g. sdrplay.service).

MarkMLl commented 2 years ago

Answering my own question.

From https://opensourcelibs.com/lib/dumpvdl2 get build instructions:

``cd libmirisdr-4 ./build.sh cd build sudo make install sudo ldconfig sudo cp $HOME/libmirisdr-4/mirisdr.rules /etc/udev/rules.d/mirisdr.rules

From https://github.com/f4exb/libmirisdr-4/issues/5 get test instructions:

``debian@BeagleBoard-X15:~/sdr/libmirisdr-4/build/src$ sudo ./miri_sdr -f 1000000 -T 1 xxx [sudo] password for debian: Found 1 device(s): 0: Mirics, MSi2500, SN: 00000001

Using device 0: Mirics MSi2500 default (e.g. VTX3D card)

That shows the device being opened and data captured into the file xxx. Having a reasonable degree of confidence that the board works from experimenting on a Windows system, any further problems are probably at the application level.

MarkMLl commented 2 years ago

Suggest missing build and test instructions.