mcci-catena / arduino-lmic

LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
https://forum.mcci.io/c/device-software/arduino-lmic/
MIT License
648 stars 212 forks source link

No #if defined(CFG_au915) in example ttn-abp.ino #553

Closed AusUser5 closed 4 years ago

AusUser5 commented 4 years ago

I'm trying to use the example sketch with au915 configuration, the lmic_project_config.h is configured as follows.

// project-specific definitions //#define CFG_eu868 1 //#define CFG_us915 1

define CFG_au915 1

//#define CFG_as923 1 // #define LMIC_COUNTRY_CODE LMIC_COUNTRY_CODE_JP / for as923-JP / //#define CFG_kr920 1 //#define CFG_in866 1

define CFG_sx1276_radio 1

//#define LMIC_USE_INTERRUPTS

however in the in the ttn-abp.ino sketch I only see #if defined(CFG_eu868) and #elif defined(CFG_us915)

I believe ttn_abp.ino needs to be updated to read an apply the configuration of CFG_au915, could this be updated.

terrillmoore commented 4 years ago

Thanks.

grep -L CFG_au915 $(grep -l CFG_us915 examples/*/*.ino) showed the following files:

I'll address this along with #550.