Fix LoRa presets: true max range BW 62.5kHz/22dBm, shift balanced and fast down

Long Range: SF12, 62.5 kHz, CR 4/8, 22 dBm (~37 bps)
Balanced:   SF9, 125 kHz, CR 4/5, 17 dBm (~1.8 Kbps)
Fast:       SF7, 250 kHz, CR 4/5, 14 dBm (~11 Kbps)

Previous Long Range used 125 kHz (3rd highest BW) and 17 dBm — not
actually max range. SX1262 supports 62.5 kHz BW and 22 dBm TX power.
This commit is contained in:
DeFiDude
2026-03-08 03:45:33 -06:00
parent 5ebf95658c
commit 8947b636fc
3 changed files with 8 additions and 8 deletions

View File

@@ -22,10 +22,10 @@
// TCXO voltage: 1.8V for T-Deck Plus integrated SX1262 (Ratputer Cap LoRa uses 3.0V/0x06)
#define LORA_TCXO_VOLTAGE 0x02 // MODE_TCXO_1_8V_6X
#define LORA_DEFAULT_FREQ 915000000
#define LORA_DEFAULT_BW 250000 // Balanced preset
#define LORA_DEFAULT_BW 125000 // Balanced preset
#define LORA_DEFAULT_SF 9
#define LORA_DEFAULT_CR 5
#define LORA_DEFAULT_TX_POWER 14 // Balanced preset
#define LORA_DEFAULT_TX_POWER 17 // Balanced preset
#define LORA_DEFAULT_PREAMBLE 18
// --- Shared SPI Bus (display + LoRa + SD) ---

View File

@@ -23,9 +23,9 @@ struct RadioPresetLv {
uint8_t sf; uint32_t bw; uint8_t cr; int8_t txPower; long preamble;
};
static const RadioPresetLv LV_PRESETS[] = {
{"Balanced", 9, 250000, 5, 14, 18},
{"Long Range", 12, 125000, 8, 17, 18},
{"Fast", 7, 500000, 5, 10, 18},
{"Balanced", 9, 125000, 5, 17, 18},
{"Long Range", 12, 62500, 8, 22, 18},
{"Fast", 7, 250000, 5, 14, 18},
};
static constexpr int LV_NUM_PRESETS = 3;

View File

@@ -26,9 +26,9 @@ struct RadioPreset {
};
static const RadioPreset PRESETS[] = {
{"Balanced", 9, 250000, 5, 14, 18},
{"Long Range", 12, 125000, 8, 17, 18},
{"Fast", 7, 500000, 5, 10, 18},
{"Balanced", 9, 125000, 5, 17, 18},
{"Long Range", 12, 62500, 8, 22, 18},
{"Fast", 7, 250000, 5, 14, 18},
};
static constexpr int NUM_PRESETS = 3;