ilusm.dev

gps

GPS spoofing, jamming, receiver testing.

Load with: use gps

Quick example

use gps

result = gpsop("value")
prn(result)

Functions

GPS receiver operations

gpsop(dev)

Opens a connection or resource. Takes dev.

gpscl(h)

Closes or clears. Takes h.

gpsrd(h, tmo)

Reads data. Takes h, tmo.

gpsnm(h)

Performs the operation. Takes h.

NMEA parsing

gpsgg(nmea)

Performs the operation. Takes nmea.

gpsrm(nmea)

Removes an item. Takes nmea.

Coordinate conversion

gpsd2(d, m, s, dir)

Performs the operation. Takes d, m, s, dir.

gpsde(dec)

Decodes. Takes dec.

Spoofing

gpspo()

Performs the operation.

gpspo1(h, lat, lon, alt)

Performs the operation. Takes h, lat, lon, alt.

gpsst(h)

Sets a value or starts a process. Takes h.

gpsst1(h)

Performs the operation. Takes h.

Generate fake NMEA

gpsfa(lat, lon, alt, sats)

Performs the operation. Takes lat, lon, alt, sats.

gpsfl(lat)

Performs the operation. Takes lat.

gpsfl1(lon)

Performs the operation. Takes lon.

gpscs(nmea)

Performs the operation. Takes nmea.

Jamming

gpsja(power, freq)

Performs the operation. Takes power, freq.

gpsja1(h)

Performs the operation. Takes h.

Detection

gpsja2(h, thresh)

Performs the operation. Takes h, thresh.

gpspo2(h)

Performs the operation. Takes h.

Satellite constellation

gpssa(h)

Performs the operation. Takes h.

Differential GPS

gpsrt(raw)

Performs the operation. Takes raw.

Pseudorange analysis

gpspr(h)

Processes or prints. Takes h.

Carrier phase

gpsca(h)

Performs the operation. Takes h.

Time synchronization

gpsti(h)

Performs the operation. Takes h.

gpszd(nmea)

Performs the operation. Takes nmea.

Static navigation mode

gpsst2(h, en)

Performs the operation. Takes h, en.

SBAS/WAAS

gpssb(h)

Performs the operation. Takes h.

PPS (Pulse Per Second)

gpspp(h, dur)

Performs the operation. Takes h, dur.

Common locations

gpsco()

Connects.

Notes

  • GPS/NMEA parsing, coordinate conversion, route calculation.