mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2024-11-24 23:14:19 +00:00
update
This commit is contained in:
parent
a07f6dcd3d
commit
7b0ca91b26
5 changed files with 8 additions and 6 deletions
|
@ -14,7 +14,7 @@
|
||||||
<table id="aps" class="scan">
|
<table id="aps" class="scan">
|
||||||
<tr><th>SSID</th><th>BSSID</th><th>Auth</th><th>Ch</th><th>RSSI</th><th>Hd</th></tr>
|
<tr><th>SSID</th><th>BSSID</th><th>Auth</th><th>Ch</th><th>RSSI</th><th>Hd</th></tr>
|
||||||
</table>
|
</table>
|
||||||
<form id="stform" style="display: none" method='post' action='/timeout.htm'>
|
<form id="stform" style="display: none" method='post' action='timeout.htm'>
|
||||||
<table class="form">
|
<table class="form">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Select or input SSID:<input type='hidden' name='wifi_rdcfg' value='0x1C00'></td>
|
<td class="label">Select or input SSID:<input type='hidden' name='wifi_rdcfg' value='0x1C00'></td>
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
<html><head>
|
<html><head>
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||||
<title>RTL871X WIFI</title>
|
<title>RTL871X WIFI</title>
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<script src="scripts.js"></script>
|
<script src="/scripts.js"></script>
|
||||||
</head><body onload="reloadTimer.reload(10)">
|
</head><body onload="reloadTimer.reload(10)">
|
||||||
<h3 class="top">RTL871X Built-in Web server <sup>©</sup></h3>
|
<h3 class="top">RTL871X Built-in Web server <sup>©</sup></h3>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h3>Timeout <span id='timer'>?</span> sec...</h3>
|
<h3>Timeout <span id='timer'>?</span> sec...</h3>
|
||||||
* Redirect: <a href='http://~sys_url~/'>http://~sys_url~/</a> *<br><br>
|
* Redirect: <a href='http://~sys_url~/'>http://~sys_url~/</a> *<br><br>
|
||||||
<a href='index.htm'>Main</a>
|
<a href='/index.htm'>Main</a>
|
||||||
</div>
|
</div>
|
||||||
~inc:footer.inc~
|
~inc:footer.inc~
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
</head><body>
|
</head><body>
|
||||||
~inc:menu.inc~
|
~inc:menu.inc~
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<form method='post' action='/timeout.htm'>
|
<form method='post' action='timeout.htm'>
|
||||||
<table class="form">
|
<table class="form">
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><h2 class="title">WiFi SoftAP</h2></td>
|
<td colspan="2"><h2 class="title">WiFi SoftAP</h2></td>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<h2 class="title">Debug and Tests</h2>
|
<h2 class="title">Debug and Tests</h2>
|
||||||
<p class="center">
|
<p class="center">
|
||||||
Chart <a href="/heap.htm">'heap'</a>, <a href="/tst.htm">ST-AP RSSI</a><br><br>
|
Chart <a href="/heap.htm">'heap'</a>, <a href="/tst.htm">ST-AP RSSI</a><br><br>
|
||||||
<a href='/timeout.htm?sys_restart=12345'>System Restart</a><br><br>
|
<a href='/protect/timeout.htm?sys_restart=12345'>System Restart</a><br><br>
|
||||||
Counter erase the last flash sector config: ~sys_rdec0x980FE000~<br><br>
|
Counter erase the last flash sector config: ~sys_rdec0x980FE000~<br><br>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2004,6 +2004,7 @@ void qfnk_task(void)
|
||||||
#if DEBUGSOO > 2
|
#if DEBUGSOO > 2
|
||||||
os_printf("qfn: %p(%p)\n", qfn.fnk, qfn.param);
|
os_printf("qfn: %p(%p)\n", qfn.fnk, qfn.param);
|
||||||
#endif
|
#endif
|
||||||
|
vTaskDelay(200); // Timeout + WDT
|
||||||
qfn.fnk(qfn.param);
|
qfn.fnk(qfn.param);
|
||||||
}
|
}
|
||||||
// else {
|
// else {
|
||||||
|
@ -2081,6 +2082,7 @@ err_t ICACHE_FLASH_ATTR webserver_close(uint16 portn)
|
||||||
if(xQueueWebSrv) {
|
if(xQueueWebSrv) {
|
||||||
WEB_SRV_QFNK qfn;
|
WEB_SRV_QFNK qfn;
|
||||||
qfn.fnk = vTaskDelete;
|
qfn.fnk = vTaskDelete;
|
||||||
|
qfn.fnk = NULL;
|
||||||
qfn.param = NULL;
|
qfn.param = NULL;
|
||||||
if(xQueueSendToBack(xQueueWebSrv, &qfn, 1000) == pdPASS) {
|
if(xQueueSendToBack(xQueueWebSrv, &qfn, 1000) == pdPASS) {
|
||||||
while(uxQueueMessagesWaiting(xQueueWebSrv)) {
|
while(uxQueueMessagesWaiting(xQueueWebSrv)) {
|
||||||
|
|
Loading…
Reference in a new issue