From 086ab3d64abecb3c8eec7107c342e4ddd71fba8d Mon Sep 17 00:00:00 2001
From: matthias-bs <83612361+matthias-bs@users.noreply.github.com>
Date: Thu, 6 Jun 2024 04:52:45 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20matthias?=
=?UTF-8?q?-bs/BresserWeatherSensorReceiver@1c2fbe576194f4e3d510cb710dbac4?=
=?UTF-8?q?4caccc106e=20=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
_weather_sensor_cfg_8h_source.html | 965 +++++++++++++++--------------
1 file changed, 483 insertions(+), 482 deletions(-)
diff --git a/_weather_sensor_cfg_8h_source.html b/_weather_sensor_cfg_8h_source.html
index 7e681d1..5731642 100644
--- a/_weather_sensor_cfg_8h_source.html
+++ b/_weather_sensor_cfg_8h_source.html
@@ -149,492 +149,493 @@
-
-
-
-
-
- 71 #if !defined(WEATHER_SENSOR_CFG_H)
- 72 #define WEATHER_SENSOR_CFG_H
-
-
-
-
-
-
- 79 #define MAX_SENSORS_DEFAULT 1
-
-
- 82 #define SENSOR_IDS_EXC { 0x792882A2 }
-
-
-
- 86 #define SENSOR_IDS_INC { }
-
-
-
- 90 #define WIND_DATA_FLOATINGPOINT
- 91 #define WIND_DATA_FIXEDPOINT
-
-
-
- 95 #define BRESSER_5_IN_1
- 96 #define BRESSER_6_IN_1
- 97 #define BRESSER_7_IN_1
- 98 #define BRESSER_LIGHTNING
- 99 #define BRESSER_LEAKAGE
-
+
+
+
+
+
+
+ 72 #if !defined(WEATHER_SENSOR_CFG_H)
+ 73 #define WEATHER_SENSOR_CFG_H
+
+
+
+
+
+
+ 80 #define MAX_SENSORS_DEFAULT 1
+
+
+ 83 #define SENSOR_IDS_EXC { 0x792882A2 }
+
+
+
+ 87 #define SENSOR_IDS_INC { }
+
+
+
+ 91 #define WIND_DATA_FLOATINGPOINT
+ 92 #define WIND_DATA_FIXEDPOINT
+
+
+
+ 96 #define BRESSER_5_IN_1
+ 97 #define BRESSER_6_IN_1
+ 98 #define BRESSER_7_IN_1
+ 99 #define BRESSER_LIGHTNING
+ 100 #define BRESSER_LEAKAGE
-
-
-
-
- 106 #if !defined(INSIDE_UNITTEST)
-
-
-
-
-
- 112 #define RAINGAUGE_USE_PREFS
- 113 #define LIGHTNING_USE_PREFS
-
-
- 116 #define RAINGAUGE_USE_PREFS
- 117 #define LIGHTNING_USE_PREFS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 182 #if defined(ARDUINO_TTGO_LoRa32_V1)
- 183 #pragma message("ARDUINO_TTGO_LoRa32_V1 defined; using on-board transceiver")
-
-
- 186 #elif defined(ARDUINO_TTGO_LoRa32_V2)
- 187 #pragma message("ARDUINO_TTGO_LoRa32_V2 defined; using on-board transceiver")
- 188 #pragma message("Wiring required for LMIC: DIO1 to GPIO33")
-
-
- 191 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
- 192 #pragma message("ARDUINO_TTGO_LoRa32_V21new defined; using on-board transceiver")
-
-
- 195 #elif defined(ARDUINO_HELTEC_WIRELESS_STICK)
- 196 #pragma message("ARDUINO_HELTEC_WIRELESS_STICK defined; using on-board transceiver")
-
-
- 199 #elif defined(ARDUINO_HELTEC_WIRELESS_STICK_V3)
- 200 #pragma message("ARDUINO_HELTEC_WIRELESS_STICK_V3 defined; using on-board transceiver")
-
-
- 203 #elif defined(ARDUINO_HELTEC_WIFI_LORA_32_V2)
- 204 #pragma message("ARDUINO_HELTEC_WIFI_LORA_32_V2 defined; using on-board transceiver")
-
-
- 207 #elif defined(ARDUINO_HELTEC_WIFI_LORA_32_V3) || defined(ARDUINO_heltec_wifi_lora_32_V3)
- 208 #pragma message("ARDUINO_HELTEC_WIFI_LORA_32_V3 (or similar) defined; using on-board transceiver")
-
-
- 211 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
- 212 #pragma message("ARDUINO_ADAFRUIT_FEATHER_ESP32S2 defined; assuming RFM95W FeatherWing will be used")
-
-
- 215 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2)
- 216 #pragma message("ARDUINO_ADAFRUIT_FEATHER_ESP32_V2 defined; assuming RFM95W FeatherWing will be used")
-
- 218 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
-
- 220 #elif defined(ARDUINO_FEATHER_ESP32) || defined(ARDUINO_THINGPULSE_EPULSE_FEATHER)
- 221 #pragma message("ARDUINO_FEATHER_ESP32/ARDUINO_THINGPULSE_EPULSE_FEATHER defined; assuming RFM95W FeatherWing will be used")
-
- 223 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
-
- 225 #elif defined(ARDUINO_M5STACK_CORE2) || defined(ARDUINO_M5STACK_Core2)
-
-
- 228 #pragma message("ARDUINO_M5STACK_CORE2 defined; assuming M5Stack Module LoRa868 will be used")
-
- 230 #pragma message("Wiring required for LMIC: DIO1 to GPIO35")
-
- 232 #elif defined(ARDUINO_ESP32S3_POWERFEATHER)
- 233 #pragma message("ARDUINO_ESP32S3_POWERFEATHER defined; assuming RFM95W FeatherWing will be used")
-
- 235 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
-
- 237 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
- 238 #pragma message("ARDUINO_ADAFRUIT_FEATHER_RP2040 defined; assuming RFM95W FeatherWing will be used")
-
- 240 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
-
- 242 #elif defined(ARDUINO_DFROBOT_FIREBEETLE_ESP32)
-
- 244 #define DFROBOT_COVER_LORA
-
- 246 #if defined(DFROBOT_COVER_LORA)
- 247 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 & DFROBOT_COVER_LORA defined; assuming this is a FireBeetle ESP32 with FireBeetle Cover LoRa")
-
- 249 #pragma message("Required wiring: D2 to RESET, D3 to DIO0, D4 to CS, D5 to DIO1")
-
- 251 #elif defined(LORAWAN_NODE)
- 252 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 & LORAWAN_NODE defined; assuming this is the LoRaWAN_Node board (DFRobot Firebeetle32 + Adafruit RFM95W LoRa Radio)")
-
-
-
- 256 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 defined; if you use one of those boards, select either LORAWAN_NODE or FIREBEETLE_ESP32_COVER_LORA manually!")
-
-
-
-
+
+
+
+
+
+ 107 #if !defined(INSIDE_UNITTEST)
+
+
+
+
+
+ 113 #define RAINGAUGE_USE_PREFS
+ 114 #define LIGHTNING_USE_PREFS
+
+
+ 117 #define RAINGAUGE_USE_PREFS
+ 118 #define LIGHTNING_USE_PREFS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 183 #if defined(ARDUINO_TTGO_LoRa32_V1)
+ 184 #pragma message("ARDUINO_TTGO_LoRa32_V1 defined; using on-board transceiver")
+
+
+ 187 #elif defined(ARDUINO_TTGO_LoRa32_V2)
+ 188 #pragma message("ARDUINO_TTGO_LoRa32_V2 defined; using on-board transceiver")
+ 189 #pragma message("Wiring required for LMIC: DIO1 to GPIO33")
+
+
+ 192 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
+ 193 #pragma message("ARDUINO_TTGO_LoRa32_V21new defined; using on-board transceiver")
+
+
+ 196 #elif defined(ARDUINO_HELTEC_WIRELESS_STICK)
+ 197 #pragma message("ARDUINO_HELTEC_WIRELESS_STICK defined; using on-board transceiver")
+
+
+ 200 #elif defined(ARDUINO_HELTEC_WIRELESS_STICK_V3)
+ 201 #pragma message("ARDUINO_HELTEC_WIRELESS_STICK_V3 defined; using on-board transceiver")
+
+
+ 204 #elif defined(ARDUINO_HELTEC_WIFI_LORA_32_V2)
+ 205 #pragma message("ARDUINO_HELTEC_WIFI_LORA_32_V2 defined; using on-board transceiver")
+
+
+ 208 #elif defined(ARDUINO_HELTEC_WIFI_LORA_32_V3) || defined(ARDUINO_heltec_wifi_lora_32_V3)
+ 209 #pragma message("ARDUINO_HELTEC_WIFI_LORA_32_V3 (or similar) defined; using on-board transceiver")
+
+
+ 212 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
+ 213 #pragma message("ARDUINO_ADAFRUIT_FEATHER_ESP32S2 defined; assuming RFM95W FeatherWing will be used")
+
+
+ 216 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2)
+ 217 #pragma message("ARDUINO_ADAFRUIT_FEATHER_ESP32_V2 defined; assuming RFM95W FeatherWing will be used")
+
+ 219 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
+
+ 221 #elif defined(ARDUINO_FEATHER_ESP32) || defined(ARDUINO_THINGPULSE_EPULSE_FEATHER)
+ 222 #pragma message("ARDUINO_FEATHER_ESP32/ARDUINO_THINGPULSE_EPULSE_FEATHER defined; assuming RFM95W FeatherWing will be used")
+
+ 224 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
+
+ 226 #elif defined(ARDUINO_M5STACK_CORE2) || defined(ARDUINO_M5STACK_Core2)
+
+
+ 229 #pragma message("ARDUINO_M5STACK_CORE2 defined; assuming M5Stack Module LoRa868 will be used")
+
+ 231 #pragma message("Wiring required for LMIC: DIO1 to GPIO35")
+
+ 233 #elif defined(ARDUINO_ESP32S3_POWERFEATHER)
+ 234 #pragma message("ARDUINO_ESP32S3_POWERFEATHER defined; assuming RFM95W FeatherWing will be used")
+
+ 236 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
+
+ 238 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
+ 239 #pragma message("ARDUINO_ADAFRUIT_FEATHER_RP2040 defined; assuming RFM95W FeatherWing will be used")
+
+ 241 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
+
+ 243 #elif defined(ARDUINO_DFROBOT_FIREBEETLE_ESP32)
+
+ 245 #define DFROBOT_COVER_LORA
+
+ 247 #if defined(DFROBOT_COVER_LORA)
+ 248 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 & DFROBOT_COVER_LORA defined; assuming this is a FireBeetle ESP32 with FireBeetle Cover LoRa")
+
+ 250 #pragma message("Required wiring: D2 to RESET, D3 to DIO0, D4 to CS, D5 to DIO1")
+
+ 252 #elif defined(LORAWAN_NODE)
+ 253 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 & LORAWAN_NODE defined; assuming this is the LoRaWAN_Node board (DFRobot Firebeetle32 + Adafruit RFM95W LoRa Radio)")
+
+
+
+ 257 #pragma message("ARDUINO_DFROBOT_FIREBEETLE_ESP32 defined; if you use one of those boards, select either LORAWAN_NODE or FIREBEETLE_ESP32_COVER_LORA manually!")
+
+
+
-
-
-
-
- 266 #if ( !defined(USE_CC1101) && !defined(USE_SX1276) && !defined(USE_SX1262) )
-
-
-
-
-
+
+
+
+
+
+ 267 #if ( !defined(USE_CC1101) && !defined(USE_SX1276) && !defined(USE_SX1262) )
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 292 #if defined(ESP8266) || defined(ARDUINO_ARCH_RP2040)
- 293 #define ARDUHAL_LOG_LEVEL_NONE 0
- 294 #define ARDUHAL_LOG_LEVEL_ERROR 1
- 295 #define ARDUHAL_LOG_LEVEL_WARN 2
- 296 #define ARDUHAL_LOG_LEVEL_INFO 3
- 297 #define ARDUHAL_LOG_LEVEL_DEBUG 4
- 298 #define ARDUHAL_LOG_LEVEL_VERBOSE 5
-
- 300 #if defined(ARDUINO_ARCH_RP2040) && defined(DEBUG_RP2040_PORT)
- 301 #define DEBUG_PORT DEBUG_RP2040_PORT
- 302 #elif defined(DEBUG_ESP_PORT)
- 303 #define DEBUG_PORT DEBUG_ESP_PORT
-
-
-
- 307 #define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_INFO
-
- 309 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
- 310 #define log_e(...) { DEBUG_PORT.printf("%s(), l.%d: ",__func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 312 #define log_e(...) {}
-
- 314 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_ERROR
- 315 #define log_w(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 317 #define log_w(...) {}
-
- 319 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_WARN
- 320 #define log_i(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 322 #define log_i(...) {}
-
- 324 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_INFO
- 325 #define log_d(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 327 #define log_d(...) {}
-
- 329 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_DEBUG
- 330 #define log_v(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 332 #define log_v(...) {}
-
-
-
-
- 337 #if ( (defined(USE_CC1101) && defined(USE_SX1276)) || \
- 338 (defined(USE_SX1276) && defined(USE_SX1262)) || \
- 339 (defined(USE_SX1262) && defined(USE_CC1101)) )
- 340 #error "Either USE_CC1101 OR USE_SX1276 OR USE_SX1262 must be defined!"
-
-
- 343 #if defined(USE_CC1101)
- 344 #define RECEIVER_CHIP "[CC1101]"
- 345 #elif defined(USE_SX1276)
- 346 #define RECEIVER_CHIP "[SX1276]"
- 347 #elif defined(USE_SX1262)
- 348 #define RECEIVER_CHIP "[SX1262]"
-
- 350 #error "Either USE_CC1101, USE_SX1276 or USE_SX1262 must be defined!"
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 293 #if defined(ESP8266) || defined(ARDUINO_ARCH_RP2040)
+ 294 #define ARDUHAL_LOG_LEVEL_NONE 0
+ 295 #define ARDUHAL_LOG_LEVEL_ERROR 1
+ 296 #define ARDUHAL_LOG_LEVEL_WARN 2
+ 297 #define ARDUHAL_LOG_LEVEL_INFO 3
+ 298 #define ARDUHAL_LOG_LEVEL_DEBUG 4
+ 299 #define ARDUHAL_LOG_LEVEL_VERBOSE 5
+
+ 301 #if defined(ARDUINO_ARCH_RP2040) && defined(DEBUG_RP2040_PORT)
+ 302 #define DEBUG_PORT DEBUG_RP2040_PORT
+ 303 #elif defined(DEBUG_ESP_PORT)
+ 304 #define DEBUG_PORT DEBUG_ESP_PORT
+
+
+
+ 308 #define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_INFO
+
+ 310 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
+ 311 #define log_e(...) { DEBUG_PORT.printf("%s(), l.%d: ",__func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 313 #define log_e(...) {}
+
+ 315 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_ERROR
+ 316 #define log_w(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 318 #define log_w(...) {}
+
+ 320 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_WARN
+ 321 #define log_i(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 323 #define log_i(...) {}
+
+ 325 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_INFO
+ 326 #define log_d(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 328 #define log_d(...) {}
+
+ 330 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_DEBUG
+ 331 #define log_v(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 333 #define log_v(...) {}
+
+
+
+
+ 338 #if ( (defined(USE_CC1101) && defined(USE_SX1276)) || \
+ 339 (defined(USE_SX1276) && defined(USE_SX1262)) || \
+ 340 (defined(USE_SX1262) && defined(USE_CC1101)) )
+ 341 #error "Either USE_CC1101 OR USE_SX1276 OR USE_SX1262 must be defined!"
+
+
+ 344 #if defined(USE_CC1101)
+ 345 #define RECEIVER_CHIP "[CC1101]"
+ 346 #elif defined(USE_SX1276)
+ 347 #define RECEIVER_CHIP "[SX1276]"
+ 348 #elif defined(USE_SX1262)
+ 349 #define RECEIVER_CHIP "[SX1262]"
+
+ 351 #error "Either USE_CC1101, USE_SX1276 or USE_SX1262 must be defined!"
+
-
-
-
-
-
- 359 #if defined(ARDUINO_DFROBOT_FIREBEETLE_ESP32) && defined(LORAWAN_NODE)
-
- 361 #define PIN_RECEIVER_CS 14
-
-
- 364 #define PIN_RECEIVER_IRQ 4
-
-
- 367 #define PIN_RECEIVER_GPIO 16
-
-
- 370 #define PIN_RECEIVER_RST 12
-
- 372 #elif defined(ARDUINO_DFROBOT_FIREBEETLE_ESP32) && defined(DFROBOT_COVER_LORA)
- 373 #define PIN_RECEIVER_CS 27
-
-
- 376 #define PIN_RECEIVER_IRQ 26
-
-
- 379 #define PIN_RECEIVER_GPIO 9
-
-
- 382 #define PIN_RECEIVER_RST 25
-
- 384 #elif defined(ARDUINO_TTGO_LoRa32_V1) || defined(ARDUINO_TTGO_LoRa32_V2)
-
- 386 #define PIN_RECEIVER_CS LORA_CS
-
-
- 389 #define PIN_RECEIVER_IRQ LORA_IRQ
-
-
-
- 393 #define PIN_RECEIVER_GPIO 33
-
-
- 396 #define PIN_RECEIVER_RST LORA_RST
-
- 398 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
-
-
- 401 #define PIN_RECEIVER_CS LORA_CS
-
-
- 404 #define PIN_RECEIVER_IRQ LORA_IRQ
-
-
- 407 #define PIN_RECEIVER_GPIO LORA_D1
-
-
- 410 #define PIN_RECEIVER_RST LORA_RST
-
- 412 #elif defined(ARDUINO_HELTEC_WIRELESS_STICK) || defined(ARDUINO_HELTEC_WIFI_LORA_32_V2)
-
- 414 #define PIN_RECEIVER_CS SS
-
-
- 417 #define PIN_RECEIVER_IRQ DIO0
-
-
- 420 #define PIN_RECEIVER_GPIO DIO1
-
-
- 423 #define PIN_RECEIVER_RST RST_LoRa
-
- 425 #elif defined(ARDUINO_HELTEC_WIFI_LORA_32_V3) || defined(ARDUINO_heltec_wifi_lora_32_V3)
-
- 427 #define PIN_RECEIVER_CS SS
-
-
- 430 #define PIN_RECEIVER_IRQ DIO0
-
-
- 433 #define PIN_RECEIVER_GPIO BUSY_LoRa
-
-
- 436 #define PIN_RECEIVER_RST RST_LoRa
-
- 438 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
-
- 440 #define PIN_RECEIVER_CS 6
-
-
- 443 #define PIN_RECEIVER_IRQ 5
-
-
- 446 #define PIN_RECEIVER_GPIO 11
-
-
- 449 #define PIN_RECEIVER_RST 9
-
- 451 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2)
-
- 453 #define PIN_RECEIVER_CS 14
-
-
- 456 #define PIN_RECEIVER_IRQ 32
-
-
- 459 #define PIN_RECEIVER_GPIO 33
-
-
- 462 #define PIN_RECEIVER_RST 27
-
- 464 #elif defined(ARDUINO_FEATHER_ESP32)
-
- 466 #define PIN_RECEIVER_CS 14
-
-
- 469 #define PIN_RECEIVER_IRQ 32
-
-
- 472 #define PIN_RECEIVER_GPIO 33
-
-
- 475 #define PIN_RECEIVER_RST 27
-
- 477 #elif defined(ARDUINO_M5STACK_CORE2) || defined(ARDUINO_M5STACK_Core2)
-
-
-
- 481 #define PIN_RECEIVER_CS 33
-
-
- 484 #define PIN_RECEIVER_IRQ 36
-
-
- 487 #define PIN_RECEIVER_GPIO 35
-
-
- 490 #define PIN_RECEIVER_RST 26
-
- 492 #elif defined(ARDUINO_ESP32S3_POWERFEATHER)
-
- 494 #define PIN_RECEIVER_CS 15
-
-
- 497 #define PIN_RECEIVER_IRQ 16
-
-
- 500 #define PIN_RECEIVER_GPIO 18
-
-
- 503 #define PIN_RECEIVER_RST 45
-
-
-
- 507 #define PIN_RECEIVER_CS 27
-
-
- 510 #define PIN_RECEIVER_IRQ 21
-
-
- 513 #define PIN_RECEIVER_GPIO 33
-
-
- 516 #define PIN_RECEIVER_RST 32
-
- 518 #elif defined(ESP8266)
-
- 520 #define PIN_RECEIVER_CS 15
-
-
- 523 #define PIN_RECEIVER_IRQ 4
-
-
- 526 #define PIN_RECEIVER_GPIO 5
-
-
- 529 #define PIN_RECEIVER_RST 2
-
- 531 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
-
- 533 #define PIN_RECEIVER_CS 7
-
-
- 536 #define PIN_RECEIVER_IRQ 8
-
-
- 539 #define PIN_RECEIVER_GPIO 10
-
-
- 542 #define PIN_RECEIVER_RST 11
-
-
-
- 546 #define STR_HELPER(x) #x
- 547 #define STR(x) STR_HELPER(x)
- 548 #pragma message("Receiver chip: " RECEIVER_CHIP)
- 549 #pragma message("Pin config: RST->" STR(PIN_RECEIVER_RST) ", CS->" STR(PIN_RECEIVER_CS) ", GD0/G0/IRQ->" STR(PIN_RECEIVER_IRQ) ", GDO2/G1/GPIO->" STR(PIN_RECEIVER_GPIO) )
-
-
+
+
+
+
+
+
+ 360 #if defined(ARDUINO_DFROBOT_FIREBEETLE_ESP32) && defined(LORAWAN_NODE)
+
+ 362 #define PIN_RECEIVER_CS 14
+
+
+ 365 #define PIN_RECEIVER_IRQ 4
+
+
+ 368 #define PIN_RECEIVER_GPIO 16
+
+
+ 371 #define PIN_RECEIVER_RST 12
+
+ 373 #elif defined(ARDUINO_DFROBOT_FIREBEETLE_ESP32) && defined(DFROBOT_COVER_LORA)
+ 374 #define PIN_RECEIVER_CS 27
+
+
+ 377 #define PIN_RECEIVER_IRQ 26
+
+
+ 380 #define PIN_RECEIVER_GPIO 9
+
+
+ 383 #define PIN_RECEIVER_RST 25
+
+ 385 #elif defined(ARDUINO_TTGO_LoRa32_V1) || defined(ARDUINO_TTGO_LoRa32_V2)
+
+ 387 #define PIN_RECEIVER_CS LORA_CS
+
+
+ 390 #define PIN_RECEIVER_IRQ LORA_IRQ
+
+
+
+ 394 #define PIN_RECEIVER_GPIO 33
+
+
+ 397 #define PIN_RECEIVER_RST LORA_RST
+
+ 399 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
+
+
+ 402 #define PIN_RECEIVER_CS LORA_CS
+
+
+ 405 #define PIN_RECEIVER_IRQ LORA_IRQ
+
+
+ 408 #define PIN_RECEIVER_GPIO LORA_D1
+
+
+ 411 #define PIN_RECEIVER_RST LORA_RST
+
+ 413 #elif defined(ARDUINO_HELTEC_WIRELESS_STICK) || defined(ARDUINO_HELTEC_WIRELESS_STICK_V3) || defined(ARDUINO_HELTEC_WIFI_LORA_32_V2)
+
+ 415 #define PIN_RECEIVER_CS SS
+
+
+ 418 #define PIN_RECEIVER_IRQ DIO0
+
+
+ 421 #define PIN_RECEIVER_GPIO DIO1
+
+
+ 424 #define PIN_RECEIVER_RST RST_LoRa
+
+ 426 #elif defined(ARDUINO_HELTEC_WIFI_LORA_32_V3) || defined(ARDUINO_heltec_wifi_lora_32_V3)
+
+ 428 #define PIN_RECEIVER_CS SS
+
+
+ 431 #define PIN_RECEIVER_IRQ DIO0
+
+
+ 434 #define PIN_RECEIVER_GPIO BUSY_LoRa
+
+
+ 437 #define PIN_RECEIVER_RST RST_LoRa
+
+ 439 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
+
+ 441 #define PIN_RECEIVER_CS 6
+
+
+ 444 #define PIN_RECEIVER_IRQ 5
+
+
+ 447 #define PIN_RECEIVER_GPIO 11
+
+
+ 450 #define PIN_RECEIVER_RST 9
+
+ 452 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2)
+
+ 454 #define PIN_RECEIVER_CS 14
+
+
+ 457 #define PIN_RECEIVER_IRQ 32
+
+
+ 460 #define PIN_RECEIVER_GPIO 33
+
+
+ 463 #define PIN_RECEIVER_RST 27
+
+ 465 #elif defined(ARDUINO_FEATHER_ESP32)
+
+ 467 #define PIN_RECEIVER_CS 14
+
+
+ 470 #define PIN_RECEIVER_IRQ 32
+
+
+ 473 #define PIN_RECEIVER_GPIO 33
+
+
+ 476 #define PIN_RECEIVER_RST 27
+
+ 478 #elif defined(ARDUINO_M5STACK_CORE2) || defined(ARDUINO_M5STACK_Core2)
+
+
+
+ 482 #define PIN_RECEIVER_CS 33
+
+
+ 485 #define PIN_RECEIVER_IRQ 36
+
+
+ 488 #define PIN_RECEIVER_GPIO 35
+
+
+ 491 #define PIN_RECEIVER_RST 26
+
+ 493 #elif defined(ARDUINO_ESP32S3_POWERFEATHER)
+
+ 495 #define PIN_RECEIVER_CS 15
+
+
+ 498 #define PIN_RECEIVER_IRQ 16
+
+
+ 501 #define PIN_RECEIVER_GPIO 18
+
+
+ 504 #define PIN_RECEIVER_RST 45
+
+
+
+ 508 #define PIN_RECEIVER_CS 27
+
+
+ 511 #define PIN_RECEIVER_IRQ 21
+
+
+ 514 #define PIN_RECEIVER_GPIO 33
+
+
+ 517 #define PIN_RECEIVER_RST 32
+
+ 519 #elif defined(ESP8266)
+
+ 521 #define PIN_RECEIVER_CS 15
+
+
+ 524 #define PIN_RECEIVER_IRQ 4
+
+
+ 527 #define PIN_RECEIVER_GPIO 5
+
+
+ 530 #define PIN_RECEIVER_RST 2
+
+ 532 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
+
+ 534 #define PIN_RECEIVER_CS 7
+
+
+ 537 #define PIN_RECEIVER_IRQ 8
+
+
+ 540 #define PIN_RECEIVER_GPIO 10
+
+
+ 543 #define PIN_RECEIVER_RST 11
+
+
+
+ 547 #define STR_HELPER(x) #x
+ 548 #define STR(x) STR_HELPER(x)
+ 549 #pragma message("Receiver chip: " RECEIVER_CHIP)
+ 550 #pragma message("Pin config: RST->" STR(PIN_RECEIVER_RST) ", CS->" STR(PIN_RECEIVER_CS) ", GD0/G0/IRQ->" STR(PIN_RECEIVER_IRQ) ", GDO2/G1/GPIO->" STR(PIN_RECEIVER_GPIO) )
+
+