mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-06-14 20:14:27 +02:00
Latest version of issue453 branch
This commit is contained in:
parent
2d09703fc6
commit
3036d16e0d
5
Kconfig
5
Kconfig
@ -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
0
src/aes/lmic_aes.c
Executable file → Normal file
0
src/aes/other.c
Executable file → Normal file
0
src/aes/other.c
Executable file → Normal 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
0
src/lmic/config.h
Executable file → Normal file
0
src/lmic/hal.h
Executable file → Normal file
0
src/lmic/hal.h
Executable file → Normal file
2
src/lmic/lmic.c
Executable file → Normal file
2
src/lmic/lmic.c
Executable file → Normal 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
0
src/lmic/lmic.h
Executable file → Normal file
0
src/lmic/lmic_as923.c
Executable file → Normal file
0
src/lmic/lmic_as923.c
Executable file → Normal file
0
src/lmic/lmic_au921.c
Executable file → Normal file
0
src/lmic/lmic_au921.c
Executable file → Normal file
0
src/lmic/lmic_bandplan.h
Executable file → Normal file
0
src/lmic/lmic_bandplan.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_as923.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_as923.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_au921.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_au921.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_eu868.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_eu868.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_in866.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_in866.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_kr920.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_kr920.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_us915.h
Executable file → Normal file
0
src/lmic/lmic_bandplan_us915.h
Executable file → Normal file
0
src/lmic/lmic_compliance.c
Executable file → Normal file
0
src/lmic/lmic_compliance.c
Executable file → Normal file
0
src/lmic/lmic_compliance.h
Executable file → Normal file
0
src/lmic/lmic_compliance.h
Executable file → Normal file
0
src/lmic/lmic_config_preconditions.h
Executable file → Normal file
0
src/lmic/lmic_config_preconditions.h
Executable file → Normal file
0
src/lmic/lmic_env.h
Executable file → Normal file
0
src/lmic/lmic_env.h
Executable file → Normal file
0
src/lmic/lmic_eu868.c
Executable file → Normal file
0
src/lmic/lmic_eu868.c
Executable file → Normal file
0
src/lmic/lmic_eu_like.c
Executable file → Normal file
0
src/lmic/lmic_eu_like.c
Executable file → Normal file
0
src/lmic/lmic_eu_like.h
Executable file → Normal file
0
src/lmic/lmic_eu_like.h
Executable file → Normal file
0
src/lmic/lmic_in866.c
Executable file → Normal file
0
src/lmic/lmic_in866.c
Executable file → Normal file
0
src/lmic/lmic_kr920.c
Executable file → Normal file
0
src/lmic/lmic_kr920.c
Executable file → Normal file
0
src/lmic/lmic_us915.c
Executable file → Normal file
0
src/lmic/lmic_us915.c
Executable file → Normal file
0
src/lmic/lmic_us_like.c
Executable file → Normal file
0
src/lmic/lmic_us_like.c
Executable file → Normal file
0
src/lmic/lmic_us_like.h
Executable file → Normal file
0
src/lmic/lmic_us_like.h
Executable file → Normal file
0
src/lmic/lmic_util.c
Executable file → Normal file
0
src/lmic/lmic_util.c
Executable file → Normal file
0
src/lmic/lmic_util.h
Executable file → Normal file
0
src/lmic/lmic_util.h
Executable file → Normal file
0
src/lmic/lorabase.h
Executable file → Normal file
0
src/lmic/lorabase.h
Executable file → Normal file
0
src/lmic/lorabase_as923.h
Executable file → Normal file
0
src/lmic/lorabase_as923.h
Executable file → Normal file
0
src/lmic/lorabase_au921.h
Executable file → Normal file
0
src/lmic/lorabase_au921.h
Executable file → Normal file
0
src/lmic/lorabase_eu868.h
Executable file → Normal file
0
src/lmic/lorabase_eu868.h
Executable file → Normal file
0
src/lmic/lorabase_in866.h
Executable file → Normal file
0
src/lmic/lorabase_in866.h
Executable file → Normal file
0
src/lmic/lorabase_kr920.h
Executable file → Normal file
0
src/lmic/lorabase_kr920.h
Executable file → Normal file
0
src/lmic/lorabase_us915.h
Executable file → Normal file
0
src/lmic/lorabase_us915.h
Executable file → Normal file
0
src/lmic/lorawan_spec_compliance.h
Executable file → Normal file
0
src/lmic/lorawan_spec_compliance.h
Executable file → Normal file
0
src/lmic/oslmic.c
Executable file → Normal file
0
src/lmic/oslmic.c
Executable file → Normal file
0
src/lmic/oslmic.h
Executable file → Normal file
0
src/lmic/oslmic.h
Executable file → Normal file
0
src/lmic/oslmic_types.h
Executable file → Normal file
0
src/lmic/oslmic_types.h
Executable file → Normal file
0
src/lmic/radio.c
Executable file → Normal file
0
src/lmic/radio.c
Executable file → Normal file
Loading…
Reference in New Issue
Block a user