From 0923551954055ab357ac7eb482808660dd5c4472 Mon Sep 17 00:00:00 2001 From: rcarteraz Date: Sat, 9 Mar 2024 19:24:08 -0700 Subject: [PATCH] add position precision --- docs/configuration/radio/channels.mdx | 40 ++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/docs/configuration/radio/channels.mdx b/docs/configuration/radio/channels.mdx index f7d451cb..056b4c52 100644 --- a/docs/configuration/radio/channels.mdx +++ b/docs/configuration/radio/channels.mdx @@ -7,7 +7,7 @@ sidebar_label: Channels import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; -The Channels config options are: Index, Roles, and Settings. Channel config uses an admin message sending a `Channel` protobuf which also consists of a `ChannelSettings` protobuf. +The Channels config options are: Index, Roles, and Settings. Channel config uses an admin message sending a `Channel` protobuf which also consists of a `ChannelSettings` or `ModuleSettings` protobuf. :::info **Channel Settings** (as described on this page) should not be confused with [Modem Preset Settings](/docs/configuration/radio/lora#modem-preset) @@ -104,6 +104,28 @@ If enabled, messages from the mesh will be sent to the **public** internet throu Set to `false` by default for all channels. +## Channel Module Settings + +The channel module settings options are: position precision. Channel module settings are embedded in the Channel protobuf as a ModuleSettings protobuf and sent as an admin message. + +### Position Precision + +The `position_precision` setting allows control of the level of precision for location data that is sent over a particular channel. This can be useful for privacy reasons, where obfuscating the exact location may be desired when sending position data over certain channels. + +The `position_precision` value is an integer between 0 and 32: + +- A value of 0 means that location data is never sent over the given channel. +- A value of 32 means that location data is sent with full precision. +- Values in between indicate the number of bits of precision to be sent. + +Some useful values and their approximate precisions: + +- 11: Large region, around ±11 kilometers +- 13: City-sized region, around ±3 kilometers +- 16: Neighborhood-level precision, around ±350 meters + +The client applications have implemented different levels of precision giving the user a practical range to choose from. Setting across the full range of integers can be done via the Python CLI. See [Setting Position Precision](/docs/configuration/radio/channels/#setting-position-precision) for examples on setting different levels of precision using CLI. + ## Channel Config Client Availability