File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,11 @@ message ModuleConfig {
9595 * Bits of precision for the location sent (default of 32 is full precision).
9696 */
9797 uint32 position_precision = 2 ;
98+
99+ /*
100+ * Whether we have opted-in to report our location to the map
101+ */
102+ bool should_report_location = 3 ;
98103 }
99104
100105 /*
Original file line number Diff line number Diff line change @@ -103,4 +103,10 @@ message MapReport {
103103 * Number of online nodes (heard in the last 2 hours) this node has in its list that were received locally (not via MQTT)
104104 */
105105 uint32 num_online_local_nodes = 13 ;
106+
107+ /*
108+ * User has opted in to share their location (map report) with the mqtt server
109+ * Controlled by map_report.should_report_location
110+ */
111+ bool has_opted_report_location = 14 ;
106112}
You can’t perform that action at this time.
0 commit comments