add setlat/setlon support for

https://github.com/meshtastic/Meshtastic-device/issues/536

meshtastic --setlat 32.7767 --setlon -96.7970 --setalt 1337
This commit is contained in:
Kevin Hester 2020-12-09 11:42:23 +08:00
parent aac0044b2d
commit 1ec2369ae4

View file

@ -528,6 +528,14 @@ message RadioConfig {
*/
bool is_low_power = 38;
/**
If set, this node is at a fixed position. We will generate GPS position updates
at the regular interval, but use whatever the last lat/lon/alt we have for the node.
The lat/lon/alt can be set by an internal GPS or with the help of the app.
*/
bool fixed_position = 39;
/**
This setting is never saved to disk, but if set, all device settings will be
returned to factory defaults. (Region, serial number etc... will be