Geofencing
Configure multiple geofence zones and monitor their status in real time.
Source: examples/CPP/Geofencing/, examples/C/Geofencing/, examples/Python/geofencing.py
NoteHAT Compatibility — Geofencing is available on the L1 GNSS HAT and L1/L5 RTK HAT only.
- Configures 1–4 circular geofences (lat, lon, radius)
- Sets confidence level for Inside/Outside determination
- Optionally enables PIO pin output for hardware signaling
- Continuously prints combined and per-fence geofence status
python3 examples/Python/geofencing.py
Edit the geofence coordinates in the script to match your location before running.
See Geofencing Feature and Geofencing Config for full details.