           }
 
           if (inData == "get_IRL") {
-            send(i, "IR Learner Disabled"); // TODO: Implement capture (once IRremoteESP8266 supports it)
+            send(i, "IR Learner Enabled");
+            clientToSendReceivedCodeTo = i;
+            // send(i, "sendir,1:1,4,38400,1,69,347,173,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,65,22,65,22,65,22,65,22,65,22,65,22,65,22,65,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,65,22,65,22,65,22,65,22,65,22,65,22,65,22,65,22,1527,347,87,22,3692");
           }
 
           if (inData == "stop_IRL") {
-            send(i, "IR Learner Disabled"); // TODO: Implement capture (once IRremoteESP8266 supports it)
+            send(i, "IR Learner Disabled");
           }
 
           if (inData == "getversion,0")

  sendDiscoveryBeacon();
}

String inData;
String lircInData;

void loop() {

  settings.handle();

  // Periodically send UDP Discovery Beacon
  unsigned long currentMillis = millis();

*/

/*
  Circuit:
  To get good range, attach a resistor to pin 12 of the ESP-12E and connect the resistor to the G pin of a 2N7000 transistor.
  If you look at the flat side of the 2N7000 you have S, G, D pins.
  Connect S to GND, G to the resistor to the MCU, and D to the IR LED short pin.
  The long pin of the IR LED is connected to +3.3V.
  I picked the 2N7000 because unlike others it will not pull pin 2 down which would prevent the chip from booting.
*/

#include <ESP8266WiFi.h>
