mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-11-22 03:17:07 +00:00
CommonCLI: get/set loc to replace gps advert command
This commit is contained in:
1 parent
1e384b109d
commit
bed7286192
2 files changed
+35
-1
No files matched your search
@@ -1101,6 +1101,8 @@ Covers serial NMEA receivers (`MicroNMEALocationProvider`).
|
||||
|
||||
#### View or change the GPS advert policy
|
||||
**Usage:**
|
||||
- `get advert.loc`
|
||||
- `set advert.loc <policy>`
|
||||
- `gps advert`
|
||||
- `gps advert <policy>`
|
||||
|
||||
@@ -1108,10 +1110,12 @@ Covers serial NMEA receivers (`MicroNMEALocationProvider`).
|
||||
- `policy`: `none`|`share`|`prefs`
|
||||
- `none`: don't include location in adverts
|
||||
- `share`: share gps location (from SensorManager)
|
||||
- `prefs`: location stored in node's lat and lon settings
|
||||
- `prefs`: location stored in node's lat and lon settings (can be different from gps value)
|
||||
|
||||
**Default:** `prefs`
|
||||
|
||||
**Note:** `gps advert` command is the old format but is only accessible when a gps is attached to the unit. It has been kept for compatibility but one should prefer using `get/set` commands instead.
|
||||
|
||||
---
|
||||
|
||||
### Sensors (When sensor support is compiled in)
|
||||
|
||||
Reference in new issue
Block a user