Closed r00tb3 closed 5 years ago
If you're using a HackRF, this might solve the issue: https://github.com/osqzss/gps-sdr-sim/issues/198
This actually happens before sending any data to the hackrf, it's gps-sdr- sim that segfaults. This is still a current problem. Thanks,
@Antanide Please attach a brdc file that causes a segfault.
I've downloaded the latest 2019 ephemeris file from ftp://cddis.gsfc.nasa.gov/gnss/data/daily/ after that, I followed the following steps...
gcc gpssim.c -lm -O3 -o gps-sdr-sim -DUSER_MOTION_SIZE=4000
Then I compiled the same with the old ephemeris file(brdc3540.14n) it worked properly and generated gps-sdr-sim file.
When I transmit using
hackrf_transfer -t gpssim.bin -f 1575420000 -s 2600000 -a 1 -x 0
it transmits data but my smartphone's GPS location isn't spoofed nor am I receiving strong signals when placed closed to HackRF.What am I missing? Where am I going wrong?