mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-11-05 21:32:48 +01:00
add altitude to table
This commit is contained in:
1 parent
3e1d95ed2c
commit
93fc31efd4
6 files changed
+94
No files matched your search
@@ -73,6 +73,7 @@ Response Example
|
||||
"role": "client",
|
||||
"last_lat": 377749000,
|
||||
"last_long": -1224194000,
|
||||
"last_altitude": 125,
|
||||
"channel": "main",
|
||||
"is_mqtt_gateway": true,
|
||||
"first_seen_us": 1736283723456789,
|
||||
@@ -82,6 +83,12 @@ Response Example
|
||||
}
|
||||
```
|
||||
|
||||
`last_altitude` is the latest reported altitude in meters above sea level, or `null`
|
||||
when unknown. It updates with valid node locations from position packets and map reports.
|
||||
Position packets without altitude preserve the previous value. Map reports lack altitude
|
||||
field presence, so zero values in map reports also preserve the previous value.
|
||||
Existing nodes receive altitude as new reports arrive.
|
||||
|
||||
---
|
||||
|
||||
## 2. Packets API
|
||||
|
||||
Reference in new issue
Block a user