For #5 make wifi interface a little more friendly. * Add an index.html page to the SPIFFS tree * Add a favicon because browsers spam the network for it if they can't find one, and the ~2KB of storage is a small price to pay. * Add some more info to the info page which I have found useful.
21 lines
844 B
HTML
21 lines
844 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<title>Web Interface</title>
|
|
</head>
|
|
<body>
|
|
<h1>TTGo Watch Web Server</h1>
|
|
<p>This is your device, program it as you see fit.
|
|
<p>Here are some URLs the device already supports, which you might find helpful:
|
|
<ul><li><a href="/info">/info</a> - Display info about the device
|
|
<li><a href="/shot">/shot</a> - Capture a screen shot
|
|
<li><a href="/screen.565">/screen.565</a> - Retrieve the image in RGB565 format
|
|
<li><a href="/edit">/edit</a> - View, edit, upload, and delete files
|
|
</ul>
|
|
<p><div style="color:red;">Caution:</div> Use these with care:
|
|
<ul><li><a href="/reset">/reset</a> Reboot the device
|
|
<li><a href="/update">/update</a> Transmit a firmware update through POST request
|
|
</body>
|
|
</html>
|