Page 5 of 7

Re: SDRPlay on Mac OSX

Posted: Mon Mar 21, 2016 11:57 pm
by DVE
Hi Sdrplay team,

I'm making application for Mac OS and trying to compile in XCode. It looks like *.so file is not compatible with Mac OS.
Can you please compile the libmirsdrapi library in .dylib format?

Btw why you don't provide its sources, 10 USB commands are so secret? As a good example, you can see at HackRF.

Thanks.

Re: SDRPlay on Mac OSX

Posted: Tue Mar 22, 2016 12:51 am
by sdrplay
The API contains Mirics IP and will not be released in source code form.

Have you thought about interfacing to SoapySDR (as CubicSDR does) or you can use dlsym(ApiDll, "mir_sdr_Init"); - I can send you some code as an example for importing the .so or you can look at the SoapySDRPlay code to see how it's been imported there.

I will make a request for the library in dylib format as well.

Best regards,

SDRplay Support

Re: SDRPlay on Mac OSX

Posted: Tue Mar 22, 2016 9:39 am
by DVE
Please do it.

Honestly, situation with MacOS software for SDRplay is near to critical - only CubicSDR is working, but its functionality is very poor (no recorder, no plugins, no adsb, no rds, etc). So, its your interest also to provide API as much ways as possible (sources, different library types, etc).

I'll check SoapySDR, I'm not aware with it yet.

Re: SDRPlay on Mac OSX

Posted: Tue Mar 22, 2016 10:17 am
by sdrplay
ADS-B works on Mac (check out our github repository) - https://github.com/SDRplay

Best regards,

SDRplay Support

Re: SDRPlay on Mac OSX

Posted: Wed Mar 23, 2016 12:14 am
by DVE
Thanks.

I've tested dump1090, it works. But there was a build error, MIR_SDR_API_VERSION in mirsdrapi-rsp.h is older than in real library (1.7 vs 1.81).
Please update the files in installer.

Re: SDRPlay on Mac OSX

Posted: Wed Mar 23, 2016 6:55 am
by sdrplay
Hi,

That's a mistake in the library, just remove the version check from the code for now. We are fixing the library release version in the next release.

Best regards,

SDRplay Support

Re: SDRPlay on Mac OSX

Posted: Thu Jul 07, 2016 2:01 pm
by sportq
Any update on gr-osmsdr support for SDRplay?

It's *really* frustrating to such capable hardware that can't be used in GNUradio.

Please don't reply (sdrplay) saying it works unless you post step-by-step instructions that anyone can follow.

Pete

Re: SDRPlay on Mac OSX

Posted: Tue Jul 12, 2016 11:58 pm
by darin
Pete, I didn't get any help here but I did at the gnuradio email list. I'm up and running with SDRplay and gnuradio on El Capitan. I tried so many things, I will try to put this in the way that ended up working.
1. install MacPorts
2. Go thru the process listed on SDRplay Mac install page. I ensured CubicSDR was working before doing anything else.
3. sudo port install gr-osmosdr
4. if you get any fails, install those then run 3 again.. I didn't have but was warned about this.
5. now comes the patching part.. go to https://trac.macports.org/ticket/48451#comment:8 and download the file at the very bottom.. once that is done, type the commands in lines 6-9 in exactly as it states after each number
6. cd$(port dir gr-osmosdr)
7. sudo port selfupdate
8. sudo cp Portfile Portfile.orig
9. sudo port clean
10. patch -p0 < right after the < you want to do path to patchfile.diff.. to tell the patch command where the .diff file is located and the name of the .diff file.. so patch -p <PATH/TO/PATCHFILE.diff
11. sudo port install GR-osmosdr +sdrplay

12. that should have installed it.. to restore the Portfile do
sudo mv Portfile Profile.sdrplay
sudo cp Portfile.orig Portfile

Big thanks and credit to Michael on that list.. he was the genius behind the install that worked.

Re: SDRPlay on Mac OSX

Posted: Mon Jul 25, 2016 1:39 pm
by Alrescha
I think the patches have been rolled into the current MacPorts, did the following:

0) Updated my MacPorts installation
1) Installed the SDRPlay port
2) Installed the gr-osmosdr port with +sdrplay
3) Installed the gqrx port.

The result was a working Gqrx app. By working, I mean that it interfaces with the SDRPlay and receives data.

I was also able to download the dump1090 code from the SDRPlay github and link that against the ports collection libraries. It works fine.

That said, I would like to echo previous comments that SDRPlay desperately needs a good native Mac application. CubicSDR is fantastic for what it does, but there is a lot of functionality in SDRuno that needs to come to the Mac. A Windows VM (and a $120 Windows license) is a poor substitution.

Thanks to all for the pointers that led me to this current achievement,

A.

Re: SDRPlay on Mac OSX

Posted: Mon Jul 25, 2016 11:41 pm
by mdlewis
I am considering purchasing an SDRplay radio. To this end, I downloaded the API and CubicSDR software onto my Mac, which is running OS X 10.10.5. It seems to work okay. Am I correct in assuming that this is all I need in order to get the SDRplay device to work, and that the more elaborate instructions above are for using GNUradio and other software?

thanks,

Mike Lewis