From 63c90a170da61204fd87d1d00fe1d2c0b0d620ef Mon Sep 17 00:00:00 2001 From: MiGri Date: Sun, 12 Sep 2021 21:40:04 +0200 Subject: [PATCH] Medium Mode added MediumMode: Bw 125 Cr 4/8 SF 10 (1024 Chips/Symbol) --- lib/BG_RF95/BG_RF95.cpp | 2 ++ lib/BG_RF95/BG_RF95.h | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/BG_RF95/BG_RF95.cpp b/lib/BG_RF95/BG_RF95.cpp index 67158e5..3061d96 100644 --- a/lib/BG_RF95/BG_RF95.cpp +++ b/lib/BG_RF95/BG_RF95.cpp @@ -25,6 +25,8 @@ PROGMEM static const BG_RF95::ModemConfig MODEM_CONFIG_TABLE[] = { 0x72, 0xc7, 0x8}, // BG 125 cr45 sf12 { 0x72, 0xb4, 0x00}, // Bw125Cr45Sf2048 <= M0IGA messup speed { 0x76, 0x94, 0x04}, // Bw125Cr47Sf512 <= corrected 1200baud + { 0x78, 0xa4, 0x00}, // Bw125Cr48Sf1024 + }; BG_RF95::BG_RF95(uint8_t slaveSelectPin, uint8_t interruptPin, RHGenericSPI& spi) diff --git a/lib/BG_RF95/BG_RF95.h b/lib/BG_RF95/BG_RF95.h index ce36c7b..14aa7ac 100644 --- a/lib/BG_RF95/BG_RF95.h +++ b/lib/BG_RF95/BG_RF95.h @@ -549,6 +549,7 @@ public: Bw125Cr45Sf4096, ///< APRS Bw125Cr45Sf2048, ///< M0IGA Messup speed / 698baud (not 1200) Bw125Cr47Sf512, ///< corrected 1200 baud + Bw125Cr48Sf1024, /// Bw 125, Cr = 4/8, Sf = 1024chips/symbol, CRC on } ModemConfigChoice; /// Constructor. You can have multiple instances, but each instance must have its own