-#include <rn2xx3.h>
+#include <rn2xx3.h> 
+#include <TinyGPS++.h>
 #include <SoftwareSerial.h>
 #include "keys.h"
-SoftwareSerial mySerial(7, 8); // RX, TX
+SoftwareSerial myLoraSerial(7, 8); // RX, TX
 #define RST  2
+static const int RXPin = 4, TXPin = 3;
+static const uint32_t GPSBaud = 9600;
+// The serial connection to the GPS device
+SoftwareSerial gpsSerial(RXPin, TXPin);
 
+rn2xx3 myLora(myLoraSerial);
 
-rn2xx3 myLora(mySerial);
+// The TinyGPS++ object
+TinyGPSPlus gps;
 
 // Setup routine runs once when you press reset
 void setup() {

  if(!myLora.initABP(devAddr, appSKey, nwkSKey)){
    Serial.println("Could not connect to LoRaWAN network");
  }

  led_off();
  delay(2000);
}

// the loop routine runs over and over again forever:
void loop() {
  Serial.println("TXing");
  myLora.txUncnf("X");

  String response = myLora.getRx();
  if(response && response.length() > 0) {
  Serial.println("Response: " + response);
    if(response.toInt() == 31) {
      led_on();
    }
    else{
      led_off();
    }
  }
  delay(20000);
}

void led_on()
{
  digitalWrite(13, 1);


  // Open serial communications and wait for port to open:
  Serial.begin(57600);
  myLoraSerial.begin(9600);
  Serial.println("Startup");

  // Reset rn2xx3
