mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-27 12:05:34 +00:00
Updated GPS Sim (markdown)
parent
4d9527d73d
commit
4a5659d1ea
@ -3,7 +3,7 @@ This app allows you to broadcast GPS baseband signal data streams.
|
|||||||
## Generator
|
## Generator
|
||||||
You can use [gps-sdr-sim](https://github.com/osqzss/gps-sdr-sim) to generate data for this app.
|
You can use [gps-sdr-sim](https://github.com/osqzss/gps-sdr-sim) to generate data for this app.
|
||||||
|
|
||||||
`gps-sdr-sim -e RINEX_NAVIGATION_FILE -l LAT,LONG,HEIGHT -o SOMENAME.C8`
|
`gps-sdr-sim -e RINEX_NAVIGATION_FILE -l LAT,LONG,HEIGHT -b 8 -o SOMENAME.C8`
|
||||||
|
|
||||||
That will create `SOMENAME.C8`, but note that you also need to specify its sample rate and frequency in another file, as explained below.
|
That will create `SOMENAME.C8`, but note that you also need to specify its sample rate and frequency in another file, as explained below.
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ This file should use the same filename as the .C8 file but with .TXT extension.
|
|||||||
## Example 1
|
## Example 1
|
||||||
Create a rather small polygon with a path in KML format (i.e. a path you might want to simulate to walk). You can use Google Earth or another solution like https://www.doogal.co.uk/polylines.php. Load that file in the free [SatGen NMEA simulator](https://www.labsat.co.uk/index.php/en/free-gps-nmea-simulator-software). In the generator, change the frequency to 10 Hz and export the NMEA.
|
Create a rather small polygon with a path in KML format (i.e. a path you might want to simulate to walk). You can use Google Earth or another solution like https://www.doogal.co.uk/polylines.php. Load that file in the free [SatGen NMEA simulator](https://www.labsat.co.uk/index.php/en/free-gps-nmea-simulator-software). In the generator, change the frequency to 10 Hz and export the NMEA.
|
||||||
|
|
||||||
`gps-sdr-sim.exe -e brdc1180.20n -g NMEA.txt -o TESTGPS.C8`
|
`gps-sdr-sim.exe -e brdc1180.20n -g NMEA.txt -b 8 -o TESTGPS.C8`
|
||||||
|
|
||||||
You also need to create `TESTGPS.TXT` as specified above.
|
You also need to create `TESTGPS.TXT` as specified above.
|
||||||
|
|
||||||
@ -49,9 +49,10 @@ If the device runs Android, follow your attempts with [GPS Test](https://play.go
|
|||||||
| Tablet | Samsung | Note 7 | No | Yes | |
|
| Tablet | Samsung | Note 7 | No | Yes | |
|
||||||
| Phone | Samsung | S8 | **Yes** | No | WIFI must be off |
|
| Phone | Samsung | S8 | **Yes** | No | WIFI must be off |
|
||||||
| Phone | Huawei | P30 lite | No | Yes | |
|
| Phone | Huawei | P30 lite | No | Yes | |
|
||||||
| Phone | Huawei | Mate 10 Pro | No | Yes | |
|
| Phone | Huawei | Mate 10 Pro | No | NO | 6 or 7 satelites: No fix |
|
||||||
| Smartwatch | Huawei | Amazfit Bip | **Yes** | No | |
|
| Smartwatch | Huawei | Amazfit Bip | **Yes** | No | |
|
||||||
| Phone | Apple | iPhone 6 | **Yes** | No | Works with WIFI on |
|
| Phone | Apple | iPhone 6 | **Yes** | No | Works with WIFI on |
|
||||||
|
| Phone | ZTE | Axon 7 | **Yes** | No | Works with WIFI on |
|
||||||
|
|
||||||
## 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