Latest version of issue453 branch

This commit is contained in:
Manuel Bl 2019-12-03 22:13:45 +01:00
parent 2d09703fc6
commit 3036d16e0d
43 changed files with 7 additions and 2 deletions

View File

@ -14,7 +14,7 @@ config TTN_LORA_FREQ_EU_868
bool "Europe (868 MHz)"
config TTN_LORA_FREQ_US_915
bool "North America (915 MHz)"
bool "North and South America (915 MHz)"
config TTN_LORA_FREQ_AU_921
bool "Australia (921 MHz)"
@ -25,6 +25,9 @@ config TTN_LORA_FREQ_AS_923
config TTN_LORA_FREQ_AS_923_JP
bool "Asia, region Japan (923 MHz)"
config TTN_LORA_FREQ_KR_920
bool "South Korea (920 MHz)"
config TTN_LORA_FREQ_IN_866
bool "India (866 MHz)"

0
src/aes/lmic_aes.c Executable file → Normal file
View File

0
src/aes/other.c Executable file → Normal file
View File

View File

@ -23,6 +23,8 @@
#elif defined(CONFIG_TTN_LORA_FREQ_AS_923_JP)
#define CFG_as923 1
#define LMIC_COUNTRY_CODE LMIC_COUNTRY_CODE_JP
#elif defined(CONFIG_TTN_LORA_FREQ_KR_920)
#define CFG_kr920 1
#elif defined(CONFIG_TTN_LORA_FREQ_IN_866)
#define CFG_in866 1
#else

0
src/lmic/config.h Executable file → Normal file
View File

0
src/lmic/hal.h Executable file → Normal file
View File

2
src/lmic/lmic.c Executable file → Normal file
View File

@ -1872,7 +1872,7 @@ static bit_t buildDataFrame (void) {
LMIC.adrChanged = 0;
}
u1_t flen = end + (txdata ? 5+dlen : 4);
unsigned int flen = end + (txdata ? 5+dlen : 4);
if( flen > MAX_LEN_FRAME ) {
// Options and payload too big - delay payload
txdata = 0;

0
src/lmic/lmic.h Executable file → Normal file
View File

0
src/lmic/lmic_as923.c Executable file → Normal file
View File

0
src/lmic/lmic_au921.c Executable file → Normal file
View File

0
src/lmic/lmic_bandplan.h Executable file → Normal file
View File

0
src/lmic/lmic_bandplan_as923.h Executable file → Normal file
View File

0
src/lmic/lmic_bandplan_au921.h Executable file → Normal file
View File

0
src/lmic/lmic_bandplan_eu868.h Executable file → Normal file
View File

0
src/lmic/lmic_bandplan_in866.h Executable file → Normal file
View File

0
src/lmic/lmic_bandplan_kr920.h Executable file → Normal file
View File

0
src/lmic/lmic_bandplan_us915.h Executable file → Normal file
View File

0
src/lmic/lmic_compliance.c Executable file → Normal file
View File

0
src/lmic/lmic_compliance.h Executable file → Normal file
View File

0
src/lmic/lmic_config_preconditions.h Executable file → Normal file
View File

0
src/lmic/lmic_env.h Executable file → Normal file
View File

0
src/lmic/lmic_eu868.c Executable file → Normal file
View File

0
src/lmic/lmic_eu_like.c Executable file → Normal file
View File

0
src/lmic/lmic_eu_like.h Executable file → Normal file
View File

0
src/lmic/lmic_in866.c Executable file → Normal file
View File

0
src/lmic/lmic_kr920.c Executable file → Normal file
View File

0
src/lmic/lmic_us915.c Executable file → Normal file
View File

0
src/lmic/lmic_us_like.c Executable file → Normal file
View File

0
src/lmic/lmic_us_like.h Executable file → Normal file
View File

0
src/lmic/lmic_util.c Executable file → Normal file
View File

0
src/lmic/lmic_util.h Executable file → Normal file
View File

0
src/lmic/lorabase.h Executable file → Normal file
View File

0
src/lmic/lorabase_as923.h Executable file → Normal file
View File

0
src/lmic/lorabase_au921.h Executable file → Normal file
View File

0
src/lmic/lorabase_eu868.h Executable file → Normal file
View File

0
src/lmic/lorabase_in866.h Executable file → Normal file
View File

0
src/lmic/lorabase_kr920.h Executable file → Normal file
View File

0
src/lmic/lorabase_us915.h Executable file → Normal file
View File

0
src/lmic/lorawan_spec_compliance.h Executable file → Normal file
View File

0
src/lmic/oslmic.c Executable file → Normal file
View File

0
src/lmic/oslmic.h Executable file → Normal file
View File

0
src/lmic/oslmic_types.h Executable file → Normal file
View File

0
src/lmic/radio.c Executable file → Normal file
View File