osqzss / gps-sdr-sim

Software-Defined GPS Signal Simulator
MIT License
2.75k stars 773 forks source link

Problems when I try to spoof with plutoSDR using a thumb drive #273

Open Xwshawn652 opened 3 years ago

Xwshawn652 commented 3 years ago

Hi, I am trying to spoof using ADALM-pluto without PC connected, like some kind of portable spoofing device. I store the baseband signal generated by gps-sdr-sim in a thumb drive and then I create a file named runme0.sh with three lines

iio_attr -a -c ad9361-phy TX_LO frequency 1575420000 iio_attr -a -c -o ad9361-phy voltage0 sampling_frequency 2600000 cat /media/sda1/gpssim.bin | iio_writedev -a -b 50000 cf-ad9361-dds-core-lpc

Just like the 10th page in the link:

https://rntfnd.org/wp-content/uploads/Regulus-PPT-to-PNT-AB.pdf

And the app (GPSTest ) on my phone cannot find any satellites signal. but when I connect my plutoSDR to PC and transmit the signal, it works well.

Any idea of where I might do it wrong? any help would be greatly appreciated!!!!!

Thanks a lot!