mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #684 from meshtastic/map-report-opt-in
Explicit map report opt-in
This commit is contained in:
commit
47ec99aa4c
2 changed files with 11 additions and 0 deletions
|
|
@ -95,6 +95,11 @@ message ModuleConfig {
|
|||
* Bits of precision for the location sent (default of 32 is full precision).
|
||||
*/
|
||||
uint32 position_precision = 2;
|
||||
|
||||
/*
|
||||
* Whether we have opted-in to report our location to the map
|
||||
*/
|
||||
bool should_report_location = 3;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -103,4 +103,10 @@ message MapReport {
|
|||
* Number of online nodes (heard in the last 2 hours) this node has in its list that were received locally (not via MQTT)
|
||||
*/
|
||||
uint32 num_online_local_nodes = 13;
|
||||
|
||||
/*
|
||||
* User has opted in to share their location (map report) with the mqtt server
|
||||
* Controlled by map_report.should_report_location
|
||||
*/
|
||||
bool has_opted_report_location = 14;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue