taroz / GNSS-SDRLIB

An Open Source GNSS Software Defined Radio Library
451 stars 174 forks source link

gnss-sdrlib with rtl sdr #3

Open Strykar opened 8 years ago

Strykar commented 8 years ago
GNSS-SDRLIB start!
error: failed to open rtlsdr device #0
error rcvinit

The issue is that my rtl sdr dongle shows up as #1 and there is no way to select it and thus sdrlib fails with the error above. I took a look at rtlsdr_L1.ini but do not see where I can specify to look for device #1 instead of the default of #0.

Strykar commented 8 years ago

Issue lies in lines 34 and 37 in https://github.com/taroz/GNSS-SDRLIB/blob/master/src/rcv/rtlsdr/rtlsdr.c Changing to dev_index=1;;" and "verbose_device_search("1")" let's device 1 instead of 0 connect.

hoangnt9 commented 8 years ago

I got the same problem with you, and change the parameter as above. However still the same error. Any suggestion ?

Strykar commented 8 years ago

Did you recompile it after making the changes? What is the error you see?

hoangnt9 commented 8 years ago

I open the file, edit and save it. Then the same problem occur. So I thought that I need to compile again too, however when I Open it by VS 2013. I cannot compile that C file.

Strykar commented 8 years ago

Recompile the full solution, not just that file.

hoangnt9 commented 8 years ago

But I did not find file solution. Can you give the link to file Project (.csproj) or file of Solution (.sln) ?

qingliu2 commented 6 years ago

Hello all, I fixed this problem, and the SDR can run. But, I can't see any output in the monitor. In other words, whether the antenna is connected or not, the output are the same, all the satellites with the same C/N0 35dB........ Thanks Qing

butaniravi commented 5 years ago

Hii all, With nooelec mini 2+ rtl sdr (0.5ppm TCXO) + Cheap GPS Active Antenna + my DIY Bias tee, I am getting 4 Satellite locked but getting error "error: GPS subframe number sfn=.." and suddenly satellite get out of lock.. So not getting location Fix, Any help highly appreciated..

Cheers, Ravi

Alexdichi commented 4 years ago

But I did not find file solution. Can you give the link to file Project (.csproj) or file of Solution (.sln) ?

Hello, have you find a solution?

yasss-ryan commented 2 months ago

Should I use a dedicated GPS Active Antenna or can I use the antenna which came with the NOOELEC NESDR MINI R820T Dongle . If I have to use a active antenna , how do I build bias tee because purchasing is 3-6k(indian rupees) . Also I'm getting the same error message as above rtlsdr not found #0