From 5368b7dc884635882c2a24c3c5a6b5f3c125522d Mon Sep 17 00:00:00 2001 From: Ivan Moreno Date: Tue, 20 Sep 2022 22:06:01 -0500 Subject: [PATCH] change default region con Config.h --- src/arduino-rfm/Config.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/arduino-rfm/Config.h b/src/arduino-rfm/Config.h index 6aa501a..c7b2041 100644 --- a/src/arduino-rfm/Config.h +++ b/src/arduino-rfm/Config.h @@ -13,15 +13,14 @@ #define MAX_DOWNLINK_PAYLOAD_SIZE 220 #if !defined(AS_923) && !defined(AS_923_2) && !defined(EU_868) && !defined(US_915) && !defined(AU_915) - -//Default LoRaWAN freq band -#define EU_868 +#define US_915 // Define default Region +#endif #ifdef US_915 -//Select the subband youre working on -// make sure your gateway is working in one of these bands -#define SUBND_0 // 902.3 - 903.7 Mhz -//#define SUBND_1 // 903.9 - 905.3 Mhz TTN +//Select the subband you're working on +// make sure your gateway is working with the selected subband +//#define SUBND_0 // 902.3 - 903.7 Mhz +#define SUBND_1 // 903.9 - 905.3 Mhz //#define SUBND_2 // 905.5 - 906.9 Mhz //#define SUBND_3 // 907.1 - 908.5 Mhz //#define SUBND_4 // 908.7 - 910.1 Mhz @@ -31,9 +30,9 @@ #endif #ifdef AU_915 -//Select the subband youre working on -// make sure your gateway is working in one of these bands -#define SUBND_0 // 915.2 - 916.6 Mhz +//Select the subband you're working on +// make sure your gateway is working with the selected subband +#define SUBND_0 // 915.2 - 916.6 Mhz //#define SUBND_1 // 916.8 - 918.2 Mhz //#define SUBND_2 // 918.4 - 919.8 Mhz //#define SUBND_3 // 920.0 - 921.4 Mhz @@ -42,4 +41,3 @@ //#define SUBND_6 // 924.8 - 926.2 Mhz //#define SUBND_7 // 926.4 - 927.8 Mhz #endif -#endif