Skip to main content

Module simlocation

Module simlocation 

Source
Expand description

Raw location simulation service client.

Talks to com.apple.dt.simulatelocation over a lockdown-started service stream. The protocol is intentionally tiny for this first slice:

  • set(lat, lon) sends mode 0, followed by two length-prefixed strings
  • reset() sends mode 1 only

Structs§

GpxRoutePoint

Enums§

SimLocationError

Constants§

SERVICE_NAME

Functions§

parse_gpx_route
replay_gpx_route
reset_location
Reset the device back to its actual GPS location.
set_location
Send a location simulation request with raw latitude/longitude strings.