mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-27 12:05:34 +00:00
Updated GPS Sim (markdown)
parent
423549f58e
commit
89db2a4d9d
17
GPS-Sim.md
17
GPS-Sim.md
@ -1,9 +1,13 @@
|
|||||||
This app allows you to broadcast GPS baseband signal data streams. You can use [gps-sdr-sim](https://github.com/osqzss/gps-sdr-sim) to generate data for this app.
|
This app allows you to broadcast GPS baseband signal data streams.
|
||||||
|
|
||||||
|
## Generator
|
||||||
|
You can use [gps-sdr-sim](https://github.com/osqzss/gps-sdr-sim) to generate data for this app.
|
||||||
|
|
||||||
## Example
|
|
||||||
`gps-sdr-sim -e brdc3540.14n -l LAT,LONG,HEIGHT -o BBD_NNNN.C8`
|
`gps-sdr-sim -e brdc3540.14n -l LAT,LONG,HEIGHT -o BBD_NNNN.C8`
|
||||||
|
That will create `BBD_NNNN.C8`
|
||||||
|
|
||||||
That will create `BBD_NNNN.C8` and then create `BBD_NNNN.TXT` with:
|
### Sample rate and frequency specification
|
||||||
|
Create `BBD_NNNN.TXT` with:
|
||||||
```
|
```
|
||||||
sample_rate=2600000
|
sample_rate=2600000
|
||||||
center_frequency=1575420000
|
center_frequency=1575420000
|
||||||
@ -11,5 +15,12 @@ center_frequency=1575420000
|
|||||||
|
|
||||||
Copy to your PortaPack MicroSD and open the file from the GPS Sim app.
|
Copy to your PortaPack MicroSD and open the file from the GPS Sim app.
|
||||||
|
|
||||||
|
## Example
|
||||||
|
We can create a realistic movement using a NMEA GGA stream generator like https://nmeagen.org/. In this website create several multi point lines with the positions you want. Download the NMEA file clicking "Generate NMEA file".
|
||||||
|
|
||||||
|
`gps-sdr-sim.exe -e brdc3540.14n -g OUTPUT.nmea -d DURATION -o SOMEPLACE.B8`
|
||||||
|
|
||||||
|
You also need to `SOMEPLACE.TXT` as specified above.
|
||||||
|
|
||||||
## References
|
## References
|
||||||
https://blog.csdn.net/shukebeta008/article/details/103270214
|
https://blog.csdn.net/shukebeta008/article/details/103270214
|
Loading…
Reference in New Issue
Block a user