The positon config options are: GPS Enabled, GPS Update Interval, GPS Attempt Time, Fixed Postion, Smart Broadcast, Broadcast Interval and Position Packet Flags. Position config uses an admin message sending a
Position data from GPS is provided by either the radio or your paired phone. Position data is not required to use Meshtastic but time calculations require at least one device on the mesh have either a gps or internet connection for time.
Position Config Values
Enabled by default. Should the device GPS be enabled for this node?
GPS Update Interval
How often should we try to get GPS position (in seconds), or zero for the default of once every 30 seconds, or a very large value (maxint) to update only once at boot.
GPS Attempt Time
How long should we try to get our position during each GPS update interval attempt? (in seconds) Or if zero, use the default of 30 seconds.
Off by default
If set, this node is at a fixed position. The device will generate GPS updates at the regular GPS update interval, but use whatever the last lat/lon/alt it saved for the node. The lat/lon/alt can be set by an internal GPS or with the help of the mobile device's GPS.
On by default
Smart broadcast will send out your position at an increased frequency only if your location has changed enough for a position update to be useful.
Smart broadcast complements broadcast interval (doesn't override that setting) but will apply an algorithm to more frequently update your mesh network if you are in motion and then throttle it down when you are standing still. If you use this feature, it's best to leave broadcast interval at the default.
Smart broadcast will calculate an ideal position update interval based on the data rate of your selected channel configuration.
0 is 15 minutes
If smart broadcast is of we should send our position this often (but only if it has changed significantly)
The GPS updates will be sent out every Broadcast Interval, with either the actual GPS location, or an empty location if no GPS fix was achieved. This defaults to broadcast every 15 minutes.
Bit field of boolean configuration options for POSITION messages (bitwise OR of PositionFlags)
|POS_UNDEFINED||Required for compilation|
|POS_ALTITUDE||Include an altitude value (if available)|
|POS_ALT_MSL||Altitude value is MSL|
|POS_GEO_SEP||Include geoidal separation|
|POS_DOP||Include the DOP value ; PDOP used by default, see below|
|POS_HVDOP||If POS_DOP set, send separate HDOP / VDOP values instead of PDOP|
|POS_SATINVIEW||Include number of "satellites in view"|
|POS_SEQ_NOS||Include a sequence number incremented per packet|
|POS_TIMESTAMP||Include positional timestamp (from GPS solution)|
|POS_HEADING||Include positional heading (from GPS solution)|
|POS_SPEED||Include positional speed (from GPS solution)|
Position Config Client Availability
Position config is not available for Android.
All position config values except for postion flag are available on iOS, iPadOS and macOS at Settings > Radio Configuration > Position.
All Position config conmmands are available in the python CLI. Example commands are below:
|position.gps_attempt_time||Default of |
|position.broadcast_secs||Default of |
meshtastic --set position.gps_update_interval 0
meshtastic --set position.gps_update_interval 45
meshtastic --set position.gps_attempt_time 0
meshtastic --set position.gps_attempt_time 45
meshtastic --set position.fixed_position true
The device will continue to acquire GPS coordinates according to the
gps_update_interval, but will use the last saved coordinates as its fixed point.
meshtastic --setlat 37.8651 --setlon -119.5383
meshtastic --set position.fixed_position false
meshtastic --set position.broadcast_smart true
meshtastic --set position.broadcast_smart false
meshtastic --set position.broadcast_secs 0
meshtastic --set position.broadcast_secs 60
It may take some time to see that the change has taken effect. The GPS location is updated according to the value specified on
gps_update_interval and the mesh will be notified of the new position in relation to the
Include each flag desired separated by a single space.
meshtastic --pos-fields POS_ALTITUDE POS_ALT_MSL
meshtastic --pos-fields POS_UNDEFINED
No position config options are available in the Flasher.
All position config options are available in the Web UI.
Altering/disabling the GPS functionality does not mean that you will be unable to be found. Via triangulation of your radio, location may be given up to someone if they are determined enough.