This commit is contained in:
pvvx 2017-04-29 17:42:29 +03:00
parent 163c8c1876
commit 5657871f02
23 changed files with 168 additions and 28 deletions

View file

@ -1,10 +0,0 @@
~inc:grfx1.inc~
<td width="50%">ADC: <span id="xdata" style="font-weight:bold">?</span></td>
<script type="text/javascript">
var xmlfile = 'adc.xml';
var xmin = 24;
var xmax = 1000;
var millisPerPixel = 50;
var millisPerLine = 500;
</script>
~inc:grfx2.inc~

View file

@ -5,16 +5,16 @@
<a href="/websock.htm">WebSocket</a>
<a href="/protect/wifi.htm">WiFi settings</a>
<a href="/protect/scan.htm">WiFi Scan</a>
<a href="/protect/upload.htm">WebFS Upload</a>
<a href="/protect3/upload.htm">WebFS Upload</a>
<a href="/protect/setup.htm">System Setup</a>
</div>
<div>
<a href="/protect/gpio.htm">GPIO</a>
<a href="/protect/hexdmpb.htm">HexDump Bytes</a>
<a href="/protect/hexdmpd.htm">HexDump DWord</a>
<a href="/protect/tstfuncs.htm">Download Bin</a>
<a href="/protect/dsleep.htm">Deep Sleep</a>
<a href="/protect/debug.htm">Debug and Test</a>
<a href="/protect2/hexdmpb.htm">HexDump Bytes</a>
<a href="/protect2/hexdmpd.htm">HexDump DWord</a>
<a href="/protect2/tstfuncs.htm">Download Bin</a>
<a href="/protect2/dsleep.htm">Deep Sleep</a>
<a href="/protect2/debug.htm">Debug and Test</a>
</div>
</div>
<script type="text/javascript">

View file

@ -17,7 +17,7 @@
<td><input type="button" onClick="NewCookie(+256)" value="+0x100" class="button"></td>
</tr>
</table>
<iframe id='pmem' name='pmem' src="/protect/hexdmpb.txt" border="0" width="620" height="270"></iframe>
<iframe id='pmem' name='pmem' src="/protect2/hexdmpb.txt" border="0" width="620" height="270"></iframe>
<table>
<tr>
<td>Write addr, value:</td>
@ -35,7 +35,7 @@
</div>
<div class="footer">
Protected area: 0x9A000000..0xFFFFFFFF !<br>
<a href='/protect/hexdmpb.txt?start=0x98000000&stop=0x98100000'>HEX Dump Flash 1024k</a>
<a href='/protect2/hexdmpb.txt?start=0x98000000&stop=0x98100000'>HEX Dump Flash 1024k</a>
</div>
<script src="cookie.js"></script>
</body></html>

View file

@ -17,7 +17,7 @@
<td><input type=button onClick="NewCookie(+256)" value="+0x100" class="button"></td>
</tr>
</table>
<iframe id='pmem' name='pmem' src="/protect/hexdmpd.txt" border="0" width="620" height="270"></iframe>
<iframe id='pmem' name='pmem' src="/protect2/hexdmpd.txt" border="0" width="620" height="270"></iframe>
<table>
<tr>
<td>Write addr, value:</td>
@ -35,7 +35,7 @@
</div>
<div class="footer">
Protected area: 0x9A000000..0xFFFFFFFF !<br>
<a href='/protect/hexdmpd.txt?start=0x98000000&stop=0x98100000'>HEX Dump Flash 1024k</a>
<a href='/protect2/hexdmpd.txt?start=0x98000000&stop=0x98100000'>HEX Dump Flash 1024k</a>
</div>
<script src="cookie.js"></script>
</body></html>

View file

@ -0,0 +1,97 @@
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>RTL871X Setup</title>
<link rel="stylesheet" href="../style.css">
<script src="/scripts.js"></script>
<script src="/site.js"></script>
</head><body>
~inc:menu.inc~
<div class="content">
<h2 class="title">System Setup</h2>
<form method="post" action="">
<table class="form">
<tr>
<td class="label">WEB (HTTP) port:</td>
<td><input title='4..65535, 0 - close' name='cfg_web_port' maxlength='5' value='~cfg_web_port~'></td>
</tr>
<tr>
<td class="label">WEB recved timeout:</td>
<td><input title='1...65535 sec, 0 - not limited' name='cfg_web_twrec' maxlength='5' value='~cfg_web_twrec~'></td>
</tr>
<tr>
<td class="label">WEB close timeout:</td>
<td><input title='1...65535 sec, 0 - not limited' name='cfg_web_twcls' maxlength='5' value='~cfg_web_twcls~'></td>
</tr>
<tr>
<td class="label">PowerSave Enable:</td>
<td>
<input type="hidden" name='cfg_sleep' value='0'>
<input title='If On - LogUART input disable' type='checkbox' name='cfg_sleep' value='1'>
</td>
</tr>
<tr>
<td class="label">LogUART Printf() enable:</td>
<td>
<input type="hidden" name='cfg_debug' value='0'>
<input title='rtl_printf enable. If Off - High speed upload (>1Mbytes/s).' type='checkbox' name='cfg_debug' value='1'>
</td>
</tr>
<tr>
<td class="label">Web pcb close enable:</td>
<td>
<input type="hidden" name='cfg_web_twd' value='0'>
<input title='(Proxy) Close web connection and deletes TIME_WAIT pcb' type='checkbox' name='cfg_web_twd' value='1'>
</td>
</tr>
<tr>
<td class="label">Checking pin WiFi cfg reset:</td>
<td>
<input type="hidden" name='cfg_pinclr' value='0'>
<input title='Checking reset configuration level on GPIO3 at startup (25 ms)' type='checkbox' name='cfg_pinclr' value='1'>
</td>
</tr>
<tr>
<td class="label">NetBIOS enable:</td>
<td>
<input type="hidden" name='cfg_netbios' value='0'>
<input title='NetBIOS AP name = "a~wifi_ap_ssid~", Station = "s~wifi_ap_ssid~"' type='checkbox' name='cfg_netbios' value='1'>
</td>
</tr>
<tr>
<td class="label">SNTP enable:</td>
<td>
<input type="hidden" name='cfg_sntp' value='0'>
<input title='SNTP: pool.ntp.org' type='checkbox' name='cfg_sntp' value='1'>
</td>
</tr>
<tr>
<td class="label">Captive Portal AP:</td>
<td>
<input type="hidden" name='cfg_cdns' value='0'>
<input type='checkbox' name='cfg_cdns' value='1'>
</td>
</tr>
</table>
<p class="center">
<input type='hidden' name='uart_save' value='2'>
<input type='hidden' name='cfg_save' value='1'>
<input type='submit' value='Set Config' class="button">
</p>
</form>
</div>
~inc:footer.inc~
<script type="text/javascript">
var cfg = {
cfg_sleep:"~cfg_sleep~",
cfg_debug:"~cfg_debug~",
cfg_web_twd:"~cfg_web_twd~",
cfg_pinclr:"~cfg_pinclr~",
cfg_netbios:"~cfg_netbios~",
cfg_sntp:"~cfg_sntp~",
cfg_cdns:"~cfg_cdns~",
cfg_mdb_reop:"~cfg_mdb_reop~"
}
setFormValues(document.forms[0], cfg);
</script>
</body></html>

View file

@ -17,7 +17,7 @@
Curent Disk has ~wfs_files~ files, Disk Size: ~wfs_size~ bytes.<br>
Disk Addres: ~wfs_addr~, Max Disk Size: ~wfs_max_size~ bytes, Max 250 files.<br><br>
Flash ID: ~sys_fid~, Size: ~sys_fsize~ bytes.<br>
<a href='/protect/fullflash.bin'>Download fullflash.bin</a><br><br>
<a href='/protect2/fullflash.bin'>Download fullflash.bin</a><br><br>
</p></div>
~inc:footer.inc~
</body></html>

View file

@ -1,7 +1,7 @@
#consoleLog {
overflow-y: scroll;
width: 480px;
height: 800px;
height: 200px;
border: solid 1px #aaaaaa;
background-color: #ffffff;
padding-left: 5px; }