Comments (4)
Hi Robert,
Typically you would want to use Serial1
or SoftwareSerial for other applications where you need discrete control over which task can print data.
Currently, ElegantOTA doesn't have any compiler definition to turn off serial debug. I do think that critical tasks like device firmware upgrade should never have their debug output turned off.
from elegantota.
If you are GPIO restricted then you can fork the library and remove all the serial.print lines: https://github.com/ayushsharma82/ElegantOTA/blob/master/src/ElegantOTA.cpp#L82
from elegantota.
respectfully, I disagree.
Please do not surmise what I need the srial port for. I had a simple request, which in my mind I framed politely and respectfully.
And a blanket reply fo to a user request to at least provide a means to turn it off, that is really not a solution. If you are unwilling to listen to users then I would suggest that this applciation is not worthy of making into the "Arduino" list.
from elegantota.
I think you misunderstood my comment. It was intended to be helpful rather than sounding bullish.
My reasoning for suggesting Serial1
/SoftwareSerial was because Serial0
is also used by internal debug logging of ESP core. So one way or the other you will likely encounter some interference if something goes wrong.
Secondly, It's not a blanket reply, You said "I cannot find where to disable this", that's why I quoted the file where you can remove the lines because there is no actual way to remove it via a function call right now. ( and assumed a bit about the likely scenario in the back of my head )
The bottom line is: There is no way right now to do it other than the 2 solutions that I "suggested". I've got some pending bugs to fix in this library before I can hop on to new additions.
from elegantota.
Related Issues (20)
- PLEASE RELEASE AND PUBLISH 3.1.1 😄 HOT 2
- ElegantOTA over ethernet on ESP32 HOT 1
- Save / load settings variables using LITTLEFS HOT 1
- firmware update protection? HOT 1
- no matching function for call to 'ElegantOTAClass::begin(AsyncWebServer*)' HOT 3
- Update successful, but no reboot HOT 1
- Error in platformio_upload.py instructions
- No ELEGANT OTA lite web interface appears HOT 1
- ElegantOTA crashed on ESP32 NINA-W102 EVK
- Documentation fails to mention how to access portal HOT 2
- platformio_upload.py with authentication not working HOT 2
- no <wifi.h> & <update.h> files found. HOT 3
- I want to purchase The Elegant ETA Pro but I have Questions. HOT 1
- adding a check for flash-organisation / flash-sizes
- Async Demo will not compile HOT 2
- possible to use OTA via PlattformAIO? HOT 2
- OTA crash when trying to upload HOT 2
- ElegantOTA and WebThings (Arduino) + ESP32-S3
- Brakes at ElegantOTA.cpp -> Line 141
- Smartphone browser crash when selecting a path containing a data type.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elegantota.