Setup Lorris
-
Download and install Lorris, open it
-
Clic to Proxy
-
Click to
+andAdd TCP client -
Set name, Host: YOUR_IP, and Port: 0-65535 for the TCP Data clinet
-
Clic to
Start listening, enable Proxy tunel and then click toConnect -
Data TCP is enabled
-
Then clic to
Menu->File->New->Terminaland chose Data Tunel -
Now, you are connected to the Data tunel. Then clic to
Menu->File->New->Proxy -
Set name, Host: YOUR_IP, and Port: 0-65535 for the TCP Debug clinet
-
Clic to Start listening, enable Proxy tunel and then click to Connect
-
Then clic to
Menu->File->New->Terminaland chose Debug Tunel -
Now, you are connected to the Debug tunel.
-
You can drag the table and split to sides (data, debug, serial)
-
Open
main.cppand edit connection settings// Setup connection #define SSID "WiFi_SSID" #define PASSWORD "WiFi_PASSWORD" static const IPAddress Debug_IP { 192, 168, 0, 13 }; //IP adress of your PC with Lorris static const uint16_t Debug_port = 12345; //Proxy debug port static const uint16_t Data_port = 12346; //Proxy data port
-
Customize the programe
void loop() {
int runtime = millis()/1000;
Serial.println(String("Running for: " + String(runtime) + " seconds"));
debug.println(String("Running for: " + String(runtime) + " seconds"));
data.println(String("WiFi strength: " + String(WiFi.RSSI()) ));
delay(1000);
}- Upload program to the ESP32
- Have a fun 😊













