thien huynh / Mbed 2 deprecated LoRaWAN-lmic-app_huynh

Dependencies:   LMiC SX1276Lib mbed

Fork of LoRaWAN-lmic-app by Semtech

Files at this revision

API Documentation at this revision

Comitter:
mluis
Date:
Thu Nov 26 17:20:53 2015 +0000
Parent:
4:a3abc54af9e5
Child:
6:561310b46608
Commit message:
Updated LMiC and SX1276Lib libraries.

Changed in this revision

LMiC.lib Show annotated file Show diff for this revision Revisions of this file
SX1276Lib.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LMiC.lib	Thu Nov 26 12:49:16 2015 +0000
+++ b/LMiC.lib	Thu Nov 26 17:20:53 2015 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/Semtech/code/LMiC/#519c71d29a06
+https://developer.mbed.org/teams/Semtech/code/LMiC/#85b2b647cb64
--- a/SX1276Lib.lib	Thu Nov 26 12:49:16 2015 +0000
+++ b/SX1276Lib.lib	Thu Nov 26 17:20:53 2015 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/Semtech/code/SX1276Lib/#2e496deb7858
+http://developer.mbed.org/teams/Semtech/code/SX1276Lib/#7f3aab69cca9
--- 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 )