From 7c904d81a5541975b19d8b5d2b36d42fcc2d65eb Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Mon, 20 Jun 2022 10:55:03 -0700 Subject: [PATCH] Update config.proto Additional comment cleanup --- config.proto | 43 ++++++++++--------------------------------- 1 file changed, 10 insertions(+), 33 deletions(-) diff --git a/config.proto b/config.proto index c1e4ef1..8e89dbf 100644 --- a/config.proto +++ b/config.proto @@ -459,37 +459,37 @@ message Config { enum ModemPreset { /* - * TODO: REPLACE + * Long Range - Fast */ LongFast = 0; /* - * TODO: REPLACE + * Long Range - Slow */ LongSlow = 1; /* - * TODO: REPLACE + * Very Long Range - Slow */ VLongSlow = 2; /* - * TODO: REPLACE + * Medium Range - Slow */ MidSlow = 3; /* - * TODO: REPLACE + * Medium Range - Fast */ MidFast = 4; /* - * TODO: REPLACE + * Short Range - Slow */ ShortSlow = 5; /* - * TODO: REPLACE + * Short Range - Fast */ ShortFast = 6; } @@ -503,7 +503,6 @@ message Config { int32 tx_power = 1; /* - * Note: This is the 'old' mechanism for specifying channel parameters. * Either modem_config or bandwidth/spreading/coding will be specified - NOT BOTH. * As a heuristic: If bandwidth is specified, do not use modem_config. * Because protobufs take ZERO space when the value is zero this works out nicely. @@ -539,12 +538,13 @@ message Config { float frequency_offset = 6; /* - * The region code for my radio (US, CN, EU433, etc...) + * The region code for the radio (US, CN, EU433, etc...) */ RegionCode region = 7; /* * Overrides HOPS_RELIABLE and sets the maximum number of hops. This can't be greater than 7. + * 0 for default of 3 */ uint32 hop_limit = 8; @@ -564,38 +564,15 @@ message Config { } /* - * TODO: REPLACE + * Payload Variant */ oneof payloadVariant { - /* - * TODO: REPLACE - */ DeviceConfig device = 1; - - /* - * TODO: REPLACE - */ PositionConfig position = 2; - - /* - * TODO: REPLACE - */ PowerConfig power = 3; - - /* - * TODO: REPLACE - */ WiFiConfig wifi = 4; - - /* - * TODO: REPLACE - */ DisplayConfig display = 5; - - /* - * TODO: REPLACE - */ LoRaConfig lora = 6; }