-
-
Notifications
You must be signed in to change notification settings - Fork 614
GPS Sim
This app allows you to broadcast GPS baseband signal data streams.
You can use gps-sdr-sim to generate data for this app.
gps-sdr-sim -e RINEX_NAVIGATION_FILE -l LAT,LONG,HEIGHT -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.
Download the latest file for this parameter directly from Nasa: https://cddis.nasa.gov/archive/gnss/data/daily/
Create SOMENAME.TXT
with:
sample_rate=2600000
center_frequency=1575420000
This file should use the same filename as the .C8 file but with .TXT extension. It contains the sample rate and center frequency for the .C8 file. Copy the files to your PortaPack MicroSD and open the .C8 file in the GPS Sim app.
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. 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
You also need to create TESTGPS.TXT
as specified above.
NOTE: The website nmeagen may add timestamps to the output. That might be problematic for the simulation
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 -b 8 -d DURATION -o MYGPSWALK.C8
You also need to create MYGPSWALK.TXT
as specified above.
Depending on several factors, results may vary. A modern device will use several sources and methods to validate the current position, so spoofing positions may not be possible in all situations. To improve your chances to receive simulated GPS data, try:
- Turn off Wifi/BT/Cellular (airplane mode)
- Go inside, where the device loses GPS signal
- Reboot the device after doing the previous two steps
If the device runs Android, follow your attempts with GPS Test.
Type | Make | Model | Locks on spoofed GPS? | GPS acts "jammed"? | Comments |
---|---|---|---|---|---|
Tablet | Samsung | Note 7 | No | Yes | |
Phone | Samsung | S8 | Yes | No | WIFI must be off |
Phone | Huawei | P30 lite | No | Yes | |
Phone | Huawei | Mate 10 Pro | No | Yes | |
Smartwatch | Huawei | Amazfit Bip | Yes | No | |
Phone | Apple | iPhone 6 | Yes | No | Works with WIFI on |
https://blog.csdn.net/shukebeta008/article/details/103270214
Note
The wiki is incomplete. Please add content and collaborate.
Important
- This is a public wiki. Everything is visible to everyone. Don't use it for personal notes.
- Avoid linking to external tutorials/articles; they may become outdated or contain false information.
How to collaborate
How to ask questions correctly
- First steps
- Usage cautions
- Intended use and Legality
- Features
- PortaPack Versions (which one to buy)
- HackRF Versions
- Firmware update procedure
- Description of the hardware
- User interface
- Powering the PortaPack
-
Troubleshooting
- Won't boot
- Config Menu
- Firmware upgrade
- Diagnose firmware update in Windows
- Receive Quality Issues
- No TX/RX
- TX Carrier Only
- H2+ speaker modifications
- Dead Coin Cell Battery
- Factory Defaults
- SD card not recognized by PC with the SD-card over USB selected
- DFU overlay
- Full reset
- SolveBoard
- How to Format SDCard
- Applications
-
Compilation of the firmware
- Compile on WSL with ninja
- How to compile on Windows faster with WSL 2
- Using Docker and Kitematic
- Docker command-line reference
- Using Buddyworks and other CI platforms
- Notes for Buddy.Works (and other CI platforms)
- Using ARM on Debian host
- All in one script for ARM on Debian host
- Compile on Arch based distro (exclude Asahi)
- Dev build versions
- Notes About ccache
- Create a custom map
- Code formatting
- PR process
- Description of the Structure
- Software Dev Guides
- Tools
- Research
- UI Screenshots
- Maintaining
- Creating a prod/stable release (Maintainers only)
- Maintaining rules
- Development States Notes