gps-stack-sim
gps-stack-sim copied to clipboard
Can I use ephemeris data to generate IF signal and record it in a bin file?
Hi I would like to generate a signal using this code and then transmit the signal using USRP N200. Is it possible with this code?
Hi,
The short answer is no.
With this code you can generate some signals which given some additional encoding software (which is not in this repo) you could potentially transmit with that SDR.
Hope this is helpful, Javier
Thank you so much for the answer
Here's what I have done so far:
- I have extracted the ephemeris from the RINEX.nav file and calculated the satellite position
- I have determined the satellite visibility for the target spoofing location based on the elevation angles
- Generated 5 subframes and put the data extracted from the RINEX.nav file in those subframes according to the GPS ICD
- calculated the pseudorange between each satellite and determined the code phases for each satellite based on those pseudoranges
Now the problem is I can't build a signal from the calculated data. I have generated a BIN file containing the GPS L1 C/A IF data but when I read it using GNSS SDR it says invalid preamble.
I know you must be a very busy person but if you could provide me with some insights in this regard I will be very thankful to you for this act of kindness as my thesis is stuck from two months and I am very much depressed
I am afraid I am not knowledgeable about how to interact with your hardware. Perhaps you have access to a manual that tells you how to pass your signals to the sdr?