mirror of
https://github.com/ADElectronics/RTL00_WEB_WS2812.git
synced 2025-07-31 20:31:07 +00:00
1st
This commit is contained in:
parent
7f07f696e1
commit
c6c5eeed6f
1170 changed files with 608790 additions and 1 deletions
63
Firmware/RTLGDB/WEBFiles_M/basic_style.css
Normal file
63
Firmware/RTLGDB/WEBFiles_M/basic_style.css
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
.in_body
|
||||
{
|
||||
margin-top:0px;
|
||||
margin-left:0px;
|
||||
margin-right:0px;
|
||||
margin-bottom:0px;
|
||||
background-color:transparent;
|
||||
}
|
||||
.div_c
|
||||
{
|
||||
margin-left:50px;
|
||||
margin-right:50px;
|
||||
margin-top:30px;
|
||||
margin-bottom:20px;
|
||||
}
|
||||
.fw
|
||||
{
|
||||
float:right;
|
||||
width:30%;
|
||||
}
|
||||
.label
|
||||
{
|
||||
float:left;
|
||||
width:50%;
|
||||
color:#000000;
|
||||
margin-bottom:-2px;
|
||||
font-size:15px;
|
||||
}
|
||||
.label1
|
||||
{
|
||||
float:left;
|
||||
margin-left:52px;
|
||||
width:50%;
|
||||
color:#000000;
|
||||
margin-bottom:-2px;
|
||||
font-size:15px;
|
||||
}
|
||||
.cl
|
||||
{
|
||||
clear:left;
|
||||
}
|
||||
.line1
|
||||
{
|
||||
height:1px;
|
||||
background-color:#000000;
|
||||
width:90%;
|
||||
margin-left:52px;
|
||||
margin-top:5px;
|
||||
margin-bottom:5px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.btn
|
||||
{
|
||||
width:66px;
|
||||
height:27px;
|
||||
border-style:none;
|
||||
border-radius:3px 3px 3px 3px;
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
background-color:#6699FF;
|
||||
color:#fff;
|
||||
cursor:pointer;
|
||||
}
|
||||
15
Firmware/RTLGDB/WEBFiles_M/config_success.html
Normal file
15
Firmware/RTLGDB/WEBFiles_M/config_success.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
<title>RTL871X WIFI</title>
|
||||
<link rel="stylesheet" href="/basic_style.css">
|
||||
</head>
|
||||
<body onload="reloadTimer.reload(10)">
|
||||
<div class="content">
|
||||
<h3>Timeout <span id='timer'>?</span> sec...</h3>
|
||||
* Redirect: <a href='http://~sys_url~/'>http://~sys_url~/</a> *<br><br>
|
||||
<a href='/index.html'>Main</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
48
Firmware/RTLGDB/WEBFiles_M/index.html
Normal file
48
Firmware/RTLGDB/WEBFiles_M/index.html
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
|
||||
<base target="child_page" />
|
||||
<title>坐抖批扭忘攸 抖忘技扭忘</title>
|
||||
<link rel="stylesheet" href="index_style.css" />
|
||||
<script type="text/javascript">
|
||||
var sel = 1;
|
||||
function opt_sel(v) {
|
||||
document.getElementById("op_" + sel).className = "";
|
||||
document.getElementById("op_" + v).className = "opt_sel";
|
||||
sel = v;
|
||||
}
|
||||
function resizeIframe(obj) {
|
||||
obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div style="width:850px;margin-left:auto;margin-right:auto;margin-top:0px;font-family:Avqest">
|
||||
<div id="header" style="position:relative;float:left;width: 100%;">
|
||||
<div class="logo" style="display:block;position:relative;float:left;width:213px;height:50px">
|
||||
<a target="_blank" href="https://adelectronics.ru/">
|
||||
<img src="logo.png"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="width:200px;float:left;position:relative">
|
||||
<ul id="menu" style='margin-top:35px;'>
|
||||
<li><a href="ws.html" id="op_1" class="opt_sel" onclick="opt_sel(1)">坐抖忘志扶忘攸</a></li>
|
||||
<li><a href="wifi_set.html" id="op_2" onclick="opt_sel(2)">妖忘扼找把抉抄抗我 WiFi</a></li>
|
||||
<li><a href="sys_set.html" id="op_3" onclick="opt_sel(3)">妊我扼找快技扶抑快 扶忘扼找把抉抄抗我</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="back_div" class="back_div" style='width:650px;float:left;position:relative;'>
|
||||
<iframe id="child_page" name="child_page" frameborder="0" style="border-style:none;width:100%;margin-top:20px;height:1150px;border-spacing:0px" src="ws.html" scrolling="auto" allowTransparency="true"></iframe>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
54
Firmware/RTLGDB/WEBFiles_M/index_style.css
Normal file
54
Firmware/RTLGDB/WEBFiles_M/index_style.css
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
body{font-family:Arial,sans-serif;background-color:#FFFFFF;}
|
||||
a:link {color: #000000; text-decoration:none;}
|
||||
a:visited {color: #000000; text-decoration:none;}
|
||||
a:hover {color: #000000; text-decoration:underline;}
|
||||
|
||||
#menu{list-style:none; margin:20px 0 0 0; padding:0;}
|
||||
#menu li{height:35px; line-height:30px; margin:0; padding:0;}
|
||||
#menu li a{display:block; padding-left:20px; color:#000000;}
|
||||
#menu li a:hover{color:#000000;}
|
||||
#menu li a.opt_sel{background-color:#F0F0F0; color:#000000;}
|
||||
#header {
|
||||
height: 50px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
#header .lang {
|
||||
padding-right: 0px;
|
||||
padding-top: 0px;
|
||||
color: #000000;
|
||||
text-align:right;
|
||||
}
|
||||
.logo {
|
||||
float: left;
|
||||
width: 25%;
|
||||
height: 50px;
|
||||
line-height: 80px;
|
||||
}
|
||||
.logo img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 20px;
|
||||
display: block;
|
||||
}
|
||||
.header_right {
|
||||
float: right;
|
||||
width: 80%;
|
||||
height: 50px;
|
||||
}
|
||||
.opt_sel
|
||||
{
|
||||
height:30px;
|
||||
background-color:#F0F0F0;
|
||||
padding-left:20px;
|
||||
color:#000000;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.back_div
|
||||
{
|
||||
width:650px;
|
||||
float:left;
|
||||
background:scroll center center;
|
||||
background-color:#FFFFFF;
|
||||
margin-top:0px;
|
||||
}
|
||||
BIN
Firmware/RTLGDB/WEBFiles_M/logo.png
Normal file
BIN
Firmware/RTLGDB/WEBFiles_M/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
113
Firmware/RTLGDB/WEBFiles_M/sys_set.html
Normal file
113
Firmware/RTLGDB/WEBFiles_M/sys_set.html
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
|
||||
<link rel="stylesheet" href="basic_style.css" />
|
||||
<script type="text/javascript" src="sys_set.js"></script>
|
||||
</head>
|
||||
<!-- onload="initSystemSetting()" -->
|
||||
<body class="in_body" >
|
||||
<div class="div_c" style="font-family:Avqest">
|
||||
|
||||
<form method="post" action="">
|
||||
<div class="cl"></div>
|
||||
<div style="height:10px;"></div>
|
||||
<div class="label" style="font-weight:bold;font-size:17px">WEB 扼快把志快把</div>
|
||||
<div class="cl"></div>
|
||||
<div style="height:20px;"></div>
|
||||
|
||||
<div class="label1">HTTP 扭抉把找</div>
|
||||
<div class="fw"><input name="cfg_web_port" maxlength='5' value='~cfg_web_port~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妥忘抄技忘批找 扭把我忸技忘</div>
|
||||
<div class="fw"><input name="cfg_web_twrec" maxlength='5' title='1...65535 sec, 0 - not limited' value='~cfg_web_twrec~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妥忘抄技忘批找 戒忘抗把抑找我攸</div>
|
||||
<div class="fw"><input name="cfg_web_twcls" maxlength='3' title='1...65535 sec, 0 - not limited' value='~cfg_web_twcls~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妓忘戒把快扮我找抆 戒忘抗把抑找我快 pcb</div>
|
||||
<div class="fw"><input type='hidden' name='cfg_web_twd' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='cfg_web_twd' title='(Proxy) Close web connection and deletes TIME_WAIT pcb' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="cl"></div>
|
||||
<div style="height:10px;"></div>
|
||||
<div class="label" style="font-weight:bold;font-size:17px">妖忘扼找把抉抄抗我 扼快找我</div>
|
||||
<div class="cl"></div>
|
||||
<div style="height:20px;"></div>
|
||||
|
||||
<div class="label1">妓忘戒把快扮我找抆 NetBIOS</div>
|
||||
<div class="fw"><input type='hidden' name='cfg_netbios' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='cfg_netbios' title='NetBIOS AP name = "a~wifi_ap_ssid~", Station = "s~wifi_ap_ssid~"' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妓忘戒把快扮我找抆 SNTP</div>
|
||||
<div class="fw"><input type='hidden' name='cfg_sntp' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='cfg_sntp' title='SNTP: pool.ntp.org' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">Captive Portal AP</div>
|
||||
<div class="fw"><input type='hidden' name='cfg_cdns' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='cfg_cdns' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
|
||||
<div class="cl"></div>
|
||||
<div style="height:10px;"></div>
|
||||
<div class="label" style="font-weight:bold;font-size:17px">妊我扼找快技扶抑快 扶忘扼找把抉抄抗我</div>
|
||||
<div class="cl"></div>
|
||||
<div style="height:20px;"></div>
|
||||
|
||||
<div class="label1">妓忘戒把快扮我找抆 LOG UART</div>
|
||||
<div class="fw"><input type='hidden' name='cfg_debug' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='cfg_debug' title='rtl_printf enable. If Off - High speed upload (>1Mbytes/s).' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妓忘戒把快扮我找抆 PowerSave</div>
|
||||
<div class="fw"><input type='hidden' name='cfg_sleep' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='cfg_sleep' title='If On - LOG UART input disable' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div style="margin-top:20px;color:#000000;width:100%;text-align:right">
|
||||
<input type='hidden' name='uart_save' value='2' />
|
||||
<input type='hidden' name='cfg_save' value='1' />
|
||||
<input type='submit' value='Save' class="btn" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<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>
|
||||
|
||||
40
Firmware/RTLGDB/WEBFiles_M/sys_set.js
Normal file
40
Firmware/RTLGDB/WEBFiles_M/sys_set.js
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
var setFormValues = function (form, cfg)
|
||||
{
|
||||
var name, field;
|
||||
for (name in cfg)
|
||||
{
|
||||
if (form[name])
|
||||
{
|
||||
field = form[name];
|
||||
if (field[1] && field[1].type === 'checkbox')
|
||||
{
|
||||
field = field[1];
|
||||
}
|
||||
if (field.type === 'checkbox')
|
||||
{
|
||||
field.checked = cfg[name] === '1' ? true : false;
|
||||
}
|
||||
else
|
||||
{
|
||||
field.value = cfg[name];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initSystemSetting()
|
||||
{
|
||||
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);
|
||||
}
|
||||
283
Firmware/RTLGDB/WEBFiles_M/wifi_set.html
Normal file
283
Firmware/RTLGDB/WEBFiles_M/wifi_set.html
Normal file
|
|
@ -0,0 +1,283 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
|
||||
<link rel="stylesheet" href="basic_style.css"/>
|
||||
<script type="text/javascript" src="wifi_set.js"></script>
|
||||
</head>
|
||||
<body class="in_body" onload="initWiFiSetting()">
|
||||
<div class="div_c" style="font-family:Avqest">
|
||||
|
||||
<form name= "form_wifi_setting" method="post" action="config_success.html">
|
||||
<div class="cl"></div>
|
||||
<div style="height:10px;"></div>
|
||||
<div class="label" style="font-weight:bold;font-size:17px">妍扼扶抉志扶抑快 扶忘扼找把抉抄抗我</div>
|
||||
<div class="cl"></div>
|
||||
<div style="height:20px;"></div>
|
||||
|
||||
<div class="label1">妓快忪我技</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_mode'>
|
||||
<option value='1'>妞抖我快扶找</option>
|
||||
<option value='2'>妥抉折抗忘 忱抉扼找批扭忘</option>
|
||||
<option value='3'>妞抖我快扶找 + 妥抉折抗忘 忱抉扼找批扭忘</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">IEEE PHY</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_bgn'>
|
||||
<option value='1'>802.11b</option>
|
||||
<option value='3'>802.11g</option>
|
||||
<option value='11'>802.11n</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妙抉投扶抉扼找抆 扭快把快忱忘折我</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_txpow'>
|
||||
<option value='0'>100%</option>
|
||||
<option value='1'>75%</option>
|
||||
<option value='2'>50%</option>
|
||||
<option value='3'>25%</option>
|
||||
<option value='4'>12.5%</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妞抉忱 扼找把忘扶抑</div>
|
||||
<div class="fw"><input name="wifi_country" maxlength='10' value='~wifi_country~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
|
||||
|
||||
<div class="cl"></div>
|
||||
<div style="height:10px;"></div>
|
||||
<div class="label" style="font-weight:bold;font-size:17px">妖忘扼找把抉抄抗我 抗抖我快扶找忘</div>
|
||||
<div class="cl"></div>
|
||||
<div style="height:20px;"></div>
|
||||
|
||||
<div class="label1">妊找忘找批扼 扭抉忱抗抖攻折快扶我攸</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_st_status'>
|
||||
<option value='0'>妍找抗抖攻折快扶抉</option>
|
||||
<option value='1'>妤抉忱抗抖攻折忘快找扼攸...</option>
|
||||
<option value='2'>妤快把快扭抉忱抗抖攻折忘快找扼攸</option>
|
||||
<option value='3'>妤抉忱抗抖攻折快扶抉!</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">RSSI</div>
|
||||
<div class="fw"><input readonly value='~wifi_st_rssi~ dB' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">SSID</div>
|
||||
<div class="fw"><input name="wifi_st_ssid" maxlength='31' value='~wifi_st_ssid~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">BSSID</div>
|
||||
<div class="fw"><input name="wifi_st_bssid" maxlength='17' value='~wifi_st_bssid~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妒扼扭抉抖抆戒抉志忘找抆 BSSID</div>
|
||||
<div class="fw"><input type='hidden' name='wifi_st_sbss' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='wifi_st_sbss' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妤忘把抉抖抆</div>
|
||||
<div class="fw"><input name="wifi_st_psw" maxlength='63' value='~wifi_st_psw~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">均批找快扶找我扳我抗忘扯我攸</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_st_auth'>
|
||||
<option value='0'>Open</option>
|
||||
<option value='1'>WEP PSK</option>
|
||||
<option value='2'>WEP Shared</option>
|
||||
<option value='3'>WPA TKIP</option>
|
||||
<option value='4'>WPA AES</option>
|
||||
<option value='5'>WPA2 TKIP</option>
|
||||
<option value='6'>WPA2 AES</option>
|
||||
<option value='7'>WPA2 Mixed</option>
|
||||
<option value='8'>WPA2/WPA AES</option>
|
||||
<option value='9'>Unknown</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">Gateway</div>
|
||||
<div class="fw"><input name="wifi_st_gw" maxlength='31' value='~wifi_st_gw~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">Subnet Mask</div>
|
||||
<div class="fw"><input name="wifi_st_msk" maxlength='31' value='~wifi_st_msk~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">均志找抉 扭快把快扭抉忱抗抖攻折快扶我快</div>
|
||||
<div class="fw"><input name="wifi_st_arec" maxlength='3' title='Reconnect count 1..255' value='~wifi_st_arec~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妤忘批戒忘 扭快把快忱 扭快把快扭抉忱抗抖攻折快扶我快技</div>
|
||||
<div class="fw"><input name="wifi_st_rect" maxlength='3' title='Reconnect pause 1..255 sec' value='~wifi_st_rect~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">MAC</div>
|
||||
<div class="fw"><input name="wifi_st_mac" maxlength='17' value='~wifi_st_mac~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">IP</div>
|
||||
<div class="fw"><input name="wifi_st_ip" maxlength='31' value='~wifi_st_ip~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">DHCP 把快忪我技</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_st_dhcp'>
|
||||
<option value='0'>DHCP Off</option>
|
||||
<option value='1'>DHCP On</option>
|
||||
<option value='2'>Static IP</option>
|
||||
<option value='3'>Auto fix</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">PowerSave 把快忪我技</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_st_sleep'>
|
||||
<option value='0'>Sleep Off</option>
|
||||
<option value='1'>IPS</option>
|
||||
<option value='2'>LPS</option>
|
||||
<option value='3'>IPS/LPS</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">LPS DTIM</div>
|
||||
<div class="fw"><input name="wifi_st_dtim" maxlength='3' title='0 - Sleep Off, 1..255 - Sleep On. 1..255 - DTIM.' value='~wifi_st_dtim~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">Station Host Name</div>
|
||||
<div class="fw"><input name="wifi_st_hostname" maxlength='16' title='DHCP, NetBIOS name' value='~wifi_st_hostname~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
|
||||
<div class="cl"></div>
|
||||
<div style="height:10px;"></div>
|
||||
<div class="label" style="font-weight:bold;font-size:17px">妖忘扼找把抉抄抗我 找抉折抗我 忱抉扼找批扭忘</div>
|
||||
<div class="cl"></div>
|
||||
<div style="height:20px;"></div>
|
||||
|
||||
<div class="label1">SSID</div>
|
||||
<div class="fw"><input name="wifi_ap_ssid" maxlength='31' value='~wifi_ap_ssid~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妤把攸找忘找抆 SSID?</div>
|
||||
<div class="fw"><input type='hidden' name='wifi_ap_hssid' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='wifi_ap_hssid' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妤忘把抉抖抆</div>
|
||||
<div class="fw"><input name="wifi_ap_psw" maxlength='63' value='~wifi_ap_psw~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妞忘扶忘抖</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_ap_chl'>
|
||||
<option value='0'>均志找抉</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">均批找快扶找我扳我抗忘扯我攸</div>
|
||||
<div class="fw">
|
||||
<select style="width:134px;height:20px" name='wifi_ap_auth'>
|
||||
<option value='0'>Open</option>
|
||||
<option value='1'>WPA_WPA2_PSK</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">IP</div>
|
||||
<div class="fw"><input name="wifi_ap_ip" maxlength='31' value='~wifi_ap_ip~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">Gateway</div>
|
||||
<div class="fw"><input name="wifi_ap_gw" maxlength='31' value='~wifi_ap_gw~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">Subnet Mask</div>
|
||||
<div class="fw"><input name="wifi_ap_msk" maxlength='31' value='~wifi_ap_msk~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">MAC</div>
|
||||
<div class="fw"><input name="wifi_ap_mac" maxlength='17' value='~wifi_ap_mac~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">DHCP Enable</div>
|
||||
<div class="fw"><input type='hidden' name='wifi_ap_dhcp' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='wifi_ap_dhcp' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">Beacon (技扼)</div>
|
||||
<div class="fw"><input name="wifi_ap_bint" maxlength='5' title='100...60000' value='~wifi_ap_bint~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">妙忘抗扼我技忘抖抆扶抉快 抗抉抖-志抉 扼抉快忱我扶快扶我抄</div>
|
||||
<div class="fw"><input name="wifi_ap_mcns" maxlength='1' title='1..3, Default: 3.' value='~wifi_ap_mcns~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">SoftAP Host Name</div>
|
||||
<div class="fw"><input name="wifi_ap_hostname" maxlength='16' title='DHCP, NetBIOS name' value='~wifi_ap_hostname~' style="width:130px" /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div style="margin-top:20px;color:#000000;width:100%;text-align:right">
|
||||
<input type='hidden' name='wifi_newcfg' value='0xffff' />
|
||||
<input type="submit" class="btn" value="Save" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
44
Firmware/RTLGDB/WEBFiles_M/wifi_set.js
Normal file
44
Firmware/RTLGDB/WEBFiles_M/wifi_set.js
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
var setFormValues = function (form, cfg)
|
||||
{
|
||||
var name, field;
|
||||
for (name in cfg)
|
||||
{
|
||||
if (form[name])
|
||||
{
|
||||
field = form[name];
|
||||
if (field[1] && field[1].type === 'checkbox')
|
||||
{
|
||||
field = field[1];
|
||||
}
|
||||
if (field.type === 'checkbox')
|
||||
{
|
||||
field.checked = cfg[name] === '1' ? true : false;
|
||||
}
|
||||
else
|
||||
{
|
||||
field.value = cfg[name];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initWiFiSetting()
|
||||
{
|
||||
var cfg =
|
||||
{
|
||||
wifi_mode: "~wifi_cmode~",
|
||||
wifi_st_status: "~wifi_st_status~",
|
||||
wifi_ap_chl: "~wifi_ap_chl~",
|
||||
wifi_ap_auth: "~wifi_ap_auth~",
|
||||
wifi_bgn: "~wifi_bgn~",
|
||||
wifi_st_sleep: "~wifi_st_sleep~",
|
||||
wifi_st_auth: "~wifi_st_auth~",
|
||||
wifi_st_sbss: "~wifi_st_sbss~",
|
||||
wifi_ap_hssid: "~wifi_ap_hssid~",
|
||||
wifi_ap_dhcp: "~wifi_ap_dhcp~",
|
||||
wifi_txpow: "~wifi_txpow~",
|
||||
wifi_st_dhcp: "~wifi_st_dhcp~"
|
||||
}
|
||||
|
||||
setFormValues(document.forms[0], cfg);
|
||||
}
|
||||
39
Firmware/RTLGDB/WEBFiles_M/ws.html
Normal file
39
Firmware/RTLGDB/WEBFiles_M/ws.html
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
|
||||
<link rel="stylesheet" href="basic_style.css"/>
|
||||
<script type="text/javascript" src="ws_set.js"></script>
|
||||
</head>
|
||||
<body class="in_body">
|
||||
<div class="div_c" style="font-family:Avqest">
|
||||
<form method="post" action="">
|
||||
<div class="label1">Rainbow enable</div>
|
||||
<div class="fw"><input type='hidden' name='ws_filt_rbw_enbl' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='ws_filt_rbw_enbl' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div class="label1">Fade enable</div>
|
||||
<div class="fw"><input type='hidden' name='ws_filt_fd_enbl' value='0' /></div>
|
||||
<div class="fw"><input type='checkbox' name='ws_filt_fd_enbl' value='1' /></div>
|
||||
<div class="cl"></div>
|
||||
<div class="line1"></div>
|
||||
|
||||
<div style="margin-top:20px;color:#000000;width:100%;text-align:right">
|
||||
<input type='submit' value='Save' class="btn"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var cfg =
|
||||
{
|
||||
ws_filt_rbw_enbl: "~ws_filt_rbw_enbl~",
|
||||
ws_filt_fd_enbl: "~ws_filt_fd_enbl~"
|
||||
}
|
||||
setFormValues(document.forms[0], cfg);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
34
Firmware/RTLGDB/WEBFiles_M/ws_set.js
Normal file
34
Firmware/RTLGDB/WEBFiles_M/ws_set.js
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
var setFormValues = function (form, cfg)
|
||||
{
|
||||
var name, field;
|
||||
for (name in cfg)
|
||||
{
|
||||
if (form[name])
|
||||
{
|
||||
field = form[name];
|
||||
if (field[1] && field[1].type === 'checkbox')
|
||||
{
|
||||
field = field[1];
|
||||
}
|
||||
if (field.type === 'checkbox')
|
||||
{
|
||||
field.checked = cfg[name] === '1' ? true : false;
|
||||
}
|
||||
else
|
||||
{
|
||||
field.value = cfg[name];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initWS2812Setting()
|
||||
{
|
||||
var cfg =
|
||||
{
|
||||
ws_filt_rbw_enbl: "~ws_filt_rbw_enbl~",
|
||||
ws_filt_fd_enbl: "~ws_filt_fd_enbl~"
|
||||
}
|
||||
|
||||
setFormValues(document.forms[0], cfg);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue