SDRPlay on Mac OSX

General discussions
DVE
Posts: 33
Joined: Sat Mar 12, 2016 11:19 am

Re: SDRPlay on Mac OSX

Post by DVE » Mon Mar 21, 2016 11:57 pm

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.
Last edited by DVE on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRPlay on Mac OSX

Post by sdrplay » Tue Mar 22, 2016 12:51 am

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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

DVE
Posts: 33
Joined: Sat Mar 12, 2016 11:19 am

Re: SDRPlay on Mac OSX

Post by DVE » Tue Mar 22, 2016 9:39 am

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.
Last edited by DVE on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRPlay on Mac OSX

Post by sdrplay » Tue Mar 22, 2016 10:17 am

ADS-B works on Mac (check out our github repository) - https://github.com/SDRplay

Best regards,

SDRplay Support
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

DVE
Posts: 33
Joined: Sat Mar 12, 2016 11:19 am

Re: SDRPlay on Mac OSX

Post by DVE » Wed Mar 23, 2016 12:14 am

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.
Last edited by DVE on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRPlay on Mac OSX

Post by sdrplay » Wed Mar 23, 2016 6:55 am

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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sportq
Posts: 1
Joined: Sat Apr 02, 2016 9:02 am

Re: SDRPlay on Mac OSX

Post by sportq » Thu Jul 07, 2016 2:01 pm

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
Last edited by sportq on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

darin
Posts: 11
Joined: Sun Jul 03, 2016 2:39 pm

Re: SDRPlay on Mac OSX

Post by darin » Tue Jul 12, 2016 11:58 pm

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.
Last edited by darin on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Alrescha
Posts: 16
Joined: Mon Jul 25, 2016 1:22 pm

Re: SDRPlay on Mac OSX

Post by Alrescha » Mon Jul 25, 2016 1:39 pm

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.
Last edited by Alrescha on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

mdlewis
Posts: 3
Joined: Mon Jul 25, 2016 11:35 pm

Re: SDRPlay on Mac OSX

Post by mdlewis » Mon Jul 25, 2016 11:41 pm

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
Last edited by mdlewis on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Post Reply