浏览代码

Merge pull request #80 from sayzard/kr920

South Korea KR920-923
Maarten Westenberg 4 年之前
父节点
当前提交
59faed95a6
共有 2 个文件被更改,包括 12 次插入0 次删除
  1. 1 0
      src/configGway.h
  2. 11 0
      src/loraModem.h

+ 1 - 0
src/configGway.h

@@ -84,6 +84,7 @@
 // CN779-787	(Not Used!)
 // EU433		Europe
 // AS923		(Not Used)
+// KR920    South Korea
 // You can find the definitions in "loraModem.h" and frequencies in
 // See https://www.thethingsnetwork.org/docs/lorawan/frequency-plans.html
 #define EU863_870 1

+ 11 - 0
src/loraModem.h

@@ -158,6 +158,17 @@ vector freqs [] = {
 	{         0,   0, 0,  0, 866550000, 125, 10, 10}			// RX2
 };
 
+#elif defined(KR920)
+vector freqs [] = {
+  { 922100000, 125, 7, 12, 922100000, 125,  7, 12},     //  SF7BW125 to SF12BW125
+  { 922300000, 125, 7, 12, 922300000, 125,  7, 12},     //  SF7BW125 to SF12BW125
+  { 922500000, 125, 7, 12, 922500000, 125,  7, 12},     //  SF7BW125 to SF12BW125
+  { 922700000, 125, 7, 12, 922700000, 125,  7, 12},     //  SF7BW125 to SF12BW125
+  { 922900000, 125, 7, 12, 922900000, 125,  7, 12},     //  SF7BW125 to SF12BW125
+  { 923100000, 125, 7, 12, 923100000, 125,  7, 12},     //  SF7BW125 to SF12BW125
+  { 923300000, 125, 7, 12, 923300000, 125,  7, 12},     //  SF7BW125 to SF12BW125
+
+};
 #else
 vector freqs [] = {
 	// Print an Error, Not supported