switch defaults to sf7/cr5

This commit is contained in:
liquidraver committed 2026-08-22 11:54:52 +02:00
1 parent 24e9392cbf
commit 46a6b34bdd
7 files changed
+40 -12

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ namespace mesh {
struct LoRaConfig {
static constexpr uint32_t FREQ_HZ = 869618000; /* MeshCore default channel (EU 869 MHz ISM) */
static constexpr uint16_t BANDWIDTH = 62; /* BW_62_KHZ — MeshCore default */
static constexpr uint8_t SPREADING_FACTOR = 8; /* SF8: balance of range vs airtime */
static constexpr uint8_t CODING_RATE = 8; /* CR_4_8: max FEC */
static constexpr uint8_t SPREADING_FACTOR = 7; /* SF7: HU regional default since 2026-08 */
static constexpr uint8_t CODING_RATE = 5; /* CR_4_5: lowest overhead */
static constexpr uint16_t PREAMBLE_LEN = 16; /* MeshCore default; longer aids RX sync */
static constexpr int8_t TX_POWER_DBM = 22; /* SX1262 max */
};