Skip to content

Commit c9d4f25

Browse files
committed
Added Russia RU864 region support.
#496
1 parent ce807fe commit c9d4f25

File tree

32 files changed

+1711
-14
lines changed

32 files changed

+1711
-14
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"REGION_AS923":"OFF",
6363
"REGION_CN470":"OFF",
6464
"REGION_KR920":"OFF",
65-
"REGION_IN865":"OFF"
65+
"REGION_IN865":"OFF",
66+
"REGION_RU864":"OFF"
6667
}
6768
}

Doc/development-environment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Alternatively one can use a graphical interface to configure CMake, drop down me
101101
* LORAMAC_REGION_CN470
102102
* LORAMAC_REGION_KR920
103103
* LORAMAC_REGION_IN865
104+
* LORAMAC_REGION_RU864
104105
* `MODULATION` - Type of modulation choice.
105106
**Note**: Only applicable to ping-pong or rx-sensi `APPLICATION` choice.
106107
The possible choices are:
@@ -122,6 +123,7 @@ Alternatively one can use a graphical interface to configure CMake, drop down me
122123
* `REGION_CN470` - Enables support for the Region CN470 (Default OFF)
123124
* `REGION_KR920` - Enables support for the Region IN865 (Default OFF)
124125
* `REGION_IN865` - Enables support for the Region AS923 (Default OFF)
126+
* `REGION_RU864` - Enables support for the Region RU864 (Default OFF)
125127

126128
### Options that are automatically set
127129

src/apps/LoRaMac/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ set_property(CACHE CLASS PROPERTY STRINGS ${CLASS_LIST})
3030
# Allow switching of active region
3131
set(ACTIVE_REGION_LIST LORAMAC_REGION_EU868 LORAMAC_REGION_US915 LORAMAC_REGION_CN779
3232
LORAMAC_REGION_EU433 LORAMAC_REGION_AU915 LORAMAC_REGION_AS923 LORAMAC_REGION_CN470
33-
LORAMAC_REGION_KR920 LORAMAC_REGION_IN865
33+
LORAMAC_REGION_KR920 LORAMAC_REGION_IN865 LORAMAC_REGION_RU864
3434
)
3535
set(ACTIVE_REGION LORAMAC_REGION_EU868 CACHE STRING "Default active region is EU868")
3636
set_property(CACHE ACTIVE_REGION PROPERTY STRINGS ${ACTIVE_REGION_LIST})

src/apps/LoRaMac/classA/NAMote72/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ static void McpsConfirm( McpsConfirm_t *mcpsConfirm )
633633
printf("CHANNEL MASK: ");
634634
#if defined( REGION_AS923 ) || defined( REGION_CN779 ) || \
635635
defined( REGION_EU868 ) || defined( REGION_IN865 ) || \
636-
defined( REGION_KR920 )
636+
defined( REGION_KR920 ) || defined( REGION_RU864 )
637637

638638
for( uint8_t i = 0; i < 1; i++)
639639

src/apps/LoRaMac/classA/NucleoL073/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,8 @@ static void McpsConfirm( McpsConfirm_t *mcpsConfirm )
541541
printf("CHANNEL MASK: ");
542542
#if defined( REGION_AS923 ) || defined( REGION_CN779 ) || \
543543
defined( REGION_EU868 ) || defined( REGION_IN865 ) || \
544-
defined( REGION_KR920 ) || defined( REGION_EU433 )
544+
defined( REGION_KR920 ) || defined( REGION_EU433 ) || \
545+
defined( REGION_RU864 )
545546

546547
for( uint8_t i = 0; i < 1; i++)
547548

src/apps/LoRaMac/classA/NucleoL152/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,8 @@ static void McpsConfirm( McpsConfirm_t *mcpsConfirm )
541541
printf("CHANNEL MASK: ");
542542
#if defined( REGION_AS923 ) || defined( REGION_CN779 ) || \
543543
defined( REGION_EU868 ) || defined( REGION_IN865 ) || \
544-
defined( REGION_KR920 ) || defined( REGION_EU433 )
544+
defined( REGION_KR920 ) || defined( REGION_EU433 ) || \
545+
defined( REGION_RU864 )
545546

546547
for( uint8_t i = 0; i < 1; i++)
547548

src/apps/LoRaMac/classA/SAML21/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,8 @@ static void McpsConfirm( McpsConfirm_t *mcpsConfirm )
547547
printf("CHANNEL MASK: ");
548548
#if defined( REGION_AS923 ) || defined( REGION_CN779 ) || \
549549
defined( REGION_EU868 ) || defined( REGION_IN865 ) || \
550-
defined( REGION_KR920 ) || defined( REGION_EU433 )
550+
defined( REGION_KR920 ) || defined( REGION_EU433 ) || \
551+
defined( REGION_RU864 )
551552

552553
for( uint8_t i = 0; i < 1; i++)
553554

src/apps/LoRaMac/classB/NAMote72/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ static void McpsConfirm( McpsConfirm_t *mcpsConfirm )
667667
printf("CHANNEL MASK: ");
668668
#if defined( REGION_AS923 ) || defined( REGION_CN779 ) || \
669669
defined( REGION_EU868 ) || defined( REGION_IN865 ) || \
670-
defined( REGION_KR920 )
670+
defined( REGION_KR920 ) || defined( REGION_RU864 )
671671

672672
for( uint8_t i = 0; i < 1; i++)
673673

src/apps/LoRaMac/classB/NucleoL073/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,8 @@ static void McpsConfirm( McpsConfirm_t *mcpsConfirm )
575575
printf("CHANNEL MASK: ");
576576
#if defined( REGION_AS923 ) || defined( REGION_CN779 ) || \
577577
defined( REGION_EU868 ) || defined( REGION_IN865 ) || \
578-
defined( REGION_KR920 ) || defined( REGION_EU433 )
578+
defined( REGION_KR920 ) || defined( REGION_EU433 ) || \
579+
defined( REGION_RU864 )
579580

580581
for( uint8_t i = 0; i < 1; i++)
581582

src/apps/LoRaMac/classB/SAML21/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ static void McpsConfirm( McpsConfirm_t *mcpsConfirm )
581581
printf("CHANNEL MASK: ");
582582
#if defined( REGION_AS923 ) || defined( REGION_CN779 ) || \
583583
defined( REGION_EU868 ) || defined( REGION_IN865 ) || \
584-
defined( REGION_KR920 ) || defined( REGION_EU433 )
584+
defined( REGION_KR920 ) || defined( REGION_EU433 ) || \
585+
defined( REGION_RU864 )
585586

586587
for( uint8_t i = 0; i < 1; i++)
587588

0 commit comments

Comments
 (0)