Manawyrm / sdrsharp-plutosdr

ADALM-PLUTO frontend for SDRSharp
MIT License
100 stars 20 forks source link

Compiling For use Without Modifying Pluto #19

Open KR0SIV opened 5 years ago

KR0SIV commented 5 years ago

I was looking at compiling the plugin to work under to normal expected frequency range to no avail. Perhaps I'm doing it wrong but it looks like I'm missing references that were not provided in the source.

Once I had it working on the original range I had intended to make it selectable with a dropdown box.

image

Manawyrm commented 5 years ago

in general, I'd really recommend just doing the modification, it's officially documented on ADI's website and works absolutely fine.

The values are here: https://github.com/Manawyrm/sdrsharp-plutosdr/blob/master/PlutoSDR/PlutoSDRIO.cs#L195

If it really bothers you, the "proper" solution would be to try to tune a frequency outside the normal range in a try,catch{}-block and then setting the frequency range if that fails. Making it selectable via a dropdown probably doesn't help much.

The missing references are SDR#. These 3 files can be found in your SDR# installation folder (obvs. I can't ship those in this project as these are copyrighted files). Just delete the references and re-add them with the correct path.

Manawyrm commented 5 years ago

Hi,

b10de36e5ccf755b90bb74de775f8edba2cd152c fixes this issue. The plugin will now detect non-modded PlutoSDRs and restrict the tuning range.

Please test the new version 0.5.3 and report back.