first draft

Dependencies:   LMiC SX1272Libx mbed

Fork of LoRaWAN-lmic-app by Semtech

Revision:
5:1b2fcc2582e8
Parent:
3:ce28e3313a88
Child:
6:fc465060b63e
--- a/main.cpp	Thu Nov 26 12:49:16 2015 +0000
+++ b/main.cpp	Thu Nov 26 17:20:53 2015 +0000
@@ -213,7 +213,11 @@
     // reset MAC state
     LMIC_reset( );
     LMIC_setAdrMode( LORAWAN_ADR_ON );
+#if defined(CFG_eu868)
     LMIC_setDrTxpow( DR_SF12, 14 );
+#elif defined(CFG_us915)    
+    LMIC_setDrTxpow( DR_SF10, 14 );
+#endif
 
     // start joining
 #if( OVER_THE_AIR_ACTIVATION != 0 )