You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've used this code for awhile now with the esp8266 without issue, thank you for teaching me, , i recently got my first esp32 and i am recieving this error
TelnetStream.h:27:13: error: cannot declare field 'TelnetStreamClass::server' to be of abstract type 'EthernetServer'
I'm pretty sure something got updated somewhere and caused the error, because the code still runs on my old laptop... however i have no clue how to fix it, as i have not been able to run it from arduinodroid cause of the error. these projects are being designed for in the field use and im never around my computer anymore...
=================================
and while i'm writting this i'm not sure if it's worth / possible to intergrate as im still learning and stealing code from everywhere i can find it, but i was trying to add StreamDebugger into the code for serial print through telnet for a monitor function via ota through telnet, basically to clean up duplicate codes like this, i'm new to coding and still learning so i'm not sure if they`re compatible yet..
although i do have it somewhat working from an esp8266 nodemcu-12e to juice ssh client set to telnet on my cell phone for remote monitor and at terminal away from my computer, Connected through wifi-hotspot, which has really been helpful for ota debugging as the node is powered by a buck converter and i cannot get to the usb on it anymore
`
Serial.println(F("void setup"));
TelnetStream.println("void setup");
Serial.begin(115200);
Serial.println("Booting....");
TelnetStream.println("Booting....");
Serial.println("File "FILE" Built on " DATE " at "TIME);
TelnetStream.println("File "FILE" Built on " DATE " at "TIME);
``
turned into https://github.com/vshymanskyy/StreamDebugger
// Setup data stream
Serial1.begin(9600);
delay(10);
// Now use StreamDbg instead of Serial1
StreamDbg.println("Hello world!");
// The message is sent to Serial1,
// and automatically duplicated to Serial
}
void loop() {
// Start direct-access from Serial to Serial1
StreamDbg.directAccess();
}
``
The text was updated successfully, but these errors were encountered:
i've used this code for awhile now with the esp8266 without issue, thank you for teaching me, , i recently got my first esp32 and i am recieving this error
I'm pretty sure something got updated somewhere and caused the error, because the code still runs on my old laptop... however i have no clue how to fix it, as i have not been able to run it from arduinodroid cause of the error. these projects are being designed for in the field use and im never around my computer anymore...
=================================
and while i'm writting this i'm not sure if it's worth / possible to intergrate as im still learning and stealing code from everywhere i can find it, but i was trying to add StreamDebugger into the code for serial print through telnet for a monitor function via ota through telnet, basically to clean up duplicate codes like this, i'm new to coding and still learning so i'm not sure if they`re compatible yet..
although i do have it somewhat working from an esp8266 nodemcu-12e to juice ssh client set to telnet on my cell phone for remote monitor and at terminal away from my computer, Connected through wifi-hotspot, which has really been helpful for ota debugging as the node is powered by a buck converter and i cannot get to the usb on it anymore
`
Serial.println(F("void setup"));
TelnetStream.println("void setup");
Serial.begin(115200);
Serial.println("Booting....");
TelnetStream.println("Booting....");
Serial.println("File "FILE" Built on " DATE " at "TIME);
TelnetStream.println("File "FILE" Built on " DATE " at "TIME);
``
turned into https://github.com/vshymanskyy/StreamDebugger
``
#include <StreamDebugger.h>
StreamDebugger StreamDbg(Serial1, Serial);
Serial1 = TelnetStream
// See all AT commands, if wanted
// #define DUMP_AT_COMMANDS
#ifdef DUMP_AT_COMMANDS
StreamDebugger debugger(SerialAT, SerialMon);
TinyGsm modem(debugger);
#else
TinyGsm modem(SerialAT);
#endif
void setup() {
// Setup debug stream
Serial.begin(115200);
delay(10);
}
void loop() {
// Start direct-access from Serial to Serial1
StreamDbg.directAccess();
}
``
The text was updated successfully, but these errors were encountered: