Skip to content

Commit b6df2d4

Browse files
committed
Merge branch 'as923jp' of git://github.com/ryos36/arduino-lmic into ryos36-as923jp
2 parents 2268c5d + a30dddb commit b6df2d4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

project_config/lmic_project_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define CFG_us915 1
44
//#define CFG_au915 1
55
//#define CFG_as923 1
6-
// #define LMIC_COUNTRY_CODE LMIC_COUNTRY_CODE_JP /* for as923-JP */
6+
//#define CFG_as923jp 1
77
//#define CFG_kr920 1
88
//#define CFG_in866 1
99
#define CFG_sx1276_radio 1

src/lmic/lorabase_as923.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ enum {
6868
AS923_FREQ_MAX = 928000000
6969
};
7070
enum {
71+
#if defined(CFG_as923jp)
72+
AS923_TX_EIRP_MAX_DBM = 13 // 13 dBm = 19.95mW < 20mW
73+
#else
7174
AS923_TX_EIRP_MAX_DBM = 16 // 16 dBm
75+
#endif
7276
};
7377
enum { DR_PAGE_AS923 = 0x10 * (LMIC_REGION_as923 - 1) };
7478

0 commit comments

Comments
 (0)