Fork of Semtech LoRaWAN stack

Fork of LoRaWAN-lib by canuck lehead

Files at this revision

API Documentation at this revision

Comitter:
shaunkrnelson
Date:
Fri Oct 07 12:14:27 2016 +0000
Branch:
v4.2.0
Parent:
20:92764fda7371
Child:
22:43aa9a123248
Commit message:
RX Settings initialization on MAC reset

Changed in this revision

LoRaMac.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LoRaMac.cpp	Mon Sep 19 09:45:15 2016 +0000
+++ b/LoRaMac.cpp	Fri Oct 07 12:14:27 2016 +0000
@@ -3195,6 +3195,11 @@
     ChannelsNbRep = 1;
     ChannelsNbRepCounter = 0;
 
+	Rx2Channel.Frequency = 923300000;
+    Rx2Channel.Datarate = DR_8;
+    Rx1DrOffset = 0;
+
+
     MaxDCycle = 0;
     AggregatedDCycle = 1;
     AggregatedLastTxDoneTime = 0;