NetDebug: switch between serial/netdebug, store ip and port in settings

pio.ini: enable WLED_DEBUG_HOST in esp32_4MB_M_debug and esp32_16MB_M_debug

audio_reactive, um6050, wled.h
- replace DEBUGOUT.print(x) by DEBUGOUT(x) etc

wled.h: switch between serial/netdebug

cfg.cpp, set.cpp, wled.cpp, xml.cpp
- store netDebugPrintIP and netDebugPrintPort in cfg.json

index.js: rename info tab on off to Net Debug

settings.sync: add netdebug

net_debug.h/cpp: use global netDebugPrintIP remove debugPrintHostIP
This commit is contained in:
Ewoud
2023-02-24 15:40:16 +01:00
parent 6651b412cb
commit bb6662ee35
15 changed files with 1435 additions and 1363 deletions

View File

@@ -242,6 +242,19 @@ Baud rate:
<option value=15000>1500000</option>
</select><br>
<i>Keep at 115200 to use Improv. Some boards may not support high rates.</i>
<h3>Net Debug ☾</h3>
<div id="NoNetDebug" class="hide">
<em style="color:#fa0;">This firmware build does not include Net Debug support.<br></em>
</div>
<div id="NetDebug">
Netcat host IP:<br>
<input name="N0" type="number" class="s" min="0" max="255" > .
<input name="N1" type="number" class="s" min="0" max="255" > .
<input name="N2" type="number" class="s" min="0" max="255" > .
<input name="N3" type="number" class="s" min="0" max="255" ><br>
Netcat host Port:<br>
<input name="NP" type="number" min="0" max="99999" ><br>
</div>
<hr>
<button type="button" onclick="B()">Back</button><button type="submit">Save</button>
</form>