Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Meshtastic/Resources/docs/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@
"app",
"radio",
"node",
"device",
"firmware",
"device",
"from",
"region",
"position",
Expand All @@ -421,12 +421,12 @@
"connected",
"configure",
"unknown",
"setting",
"preset",
"pages",
"packets",
"module"
"packets"
],
"charCount": 8930
"charCount": 9302
},
{
"id": "signal-meter",
Expand Down
2 changes: 2 additions & 0 deletions Meshtastic/Resources/docs/markdown/user/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Wi-Fi SSID/password for TCP connection, NTP server, and Ethernet (supported hard

GPS update interval, position precision, and smart position broadcasting. Enable **Broadcast Position** to share your location with the mesh.

The **GPS Mode** selector (Enabled / Disabled / Not Present) is the single source of truth for the GPS state that the app writes to the radio. The older on/off `gpsEnabled` field it replaced is deprecated: the app no longer writes it, but still reads it from older firmware so existing devices keep working. No action is needed when upgrading — your GPS setting is preserved.

### Power

Battery saving profiles, sleep modes, and minimum wake time. Critical for solar-powered router nodes.
Expand Down
1 change: 1 addition & 0 deletions Meshtastic/Resources/docs/user/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ <h3>Network</h3>
<p>Wi-Fi SSID/password for TCP connection, NTP server, and Ethernet (supported hardware only).</p>
<h3>Position</h3>
<p>GPS update interval, position precision, and smart position broadcasting. Enable <strong>Broadcast Position</strong> to share your location with the mesh.</p>
<p>The <strong>GPS Mode</strong> selector (Enabled / Disabled / Not Present) is the single source of truth for the GPS state that the app writes to the radio. The older on/off <code>gpsEnabled</code> field it replaced is deprecated: the app no longer writes it, but still reads it from older firmware so existing devices keep working. No action is needed when upgrading — your GPS setting is preserved.</p>
<h3>Power</h3>
<p>Battery saving profiles, sleep modes, and minimum wake time. Critical for solar-powered router nodes.</p>
<h2>Module Configuration</h2>
Expand Down
4 changes: 3 additions & 1 deletion Meshtastic/Views/Settings/Config/PositionConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ struct PositionConfig: View {
) { fromUser, toUser in
var pc = Config.PositionConfig()
pc.positionBroadcastSmartEnabled = smartPositionEnabled
pc.gpsEnabled = gpsMode == 1
// gpsMode is the source of truth; the deprecated gpsEnabled field is
// intentionally not written (removed upstream, see issue #2024). Older
// firmware sending gpsEnabled is still tolerated on read (setPositionValues).
pc.gpsMode = Config.PositionConfig.GpsMode(rawValue: gpsMode) ?? Config.PositionConfig.GpsMode.notPresent
Comment thread
coderabbitai[bot] marked this conversation as resolved.
pc.fixedPosition = fixedPosition
pc.gpsUpdateInterval = UInt32(gpsUpdateInterval)
Expand Down
2 changes: 2 additions & 0 deletions docs/user/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Wi-Fi SSID/password for TCP connection, NTP server, and Ethernet (supported hard

GPS update interval, position precision, and smart position broadcasting. Enable **Broadcast Position** to share your location with the mesh.

The **GPS Mode** selector (Enabled / Disabled / Not Present) is the single source of truth for the GPS state that the app writes to the radio. The older on/off `gpsEnabled` field it replaced is deprecated: the app no longer writes it, but still reads it from older firmware so existing devices keep working. No action is needed when upgrading — your GPS setting is preserved.

### Power

Battery saving profiles, sleep modes, and minimum wake time. Critical for solar-powered router nodes.
Expand Down