This commit is contained in:
2025-01-30 02:40:44 -05:00
parent 72bfed7a3f
commit 3fc7bc1820
17 changed files with 107468 additions and 0 deletions

View File

@@ -0,0 +1 @@
100000

View File

@@ -0,0 +1,2 @@
SSID
password

View File

@@ -0,0 +1,6 @@
function main(headers, contents, ip, port) {
var head = "HTTP/1.1 200 OK\r\nContent-Type: text\r\n\r\n";
var get = "GET /resource.txt HTTP/1.1\r\n\r\n\r\n";
writeFile("data",getDeviceData());
return head + readFile("/run/data") + "\r\n";
}

View File

@@ -0,0 +1,3 @@
function main(){
writeFile("data",getDeviceData());
}

View File

@@ -0,0 +1,6 @@
function main(headers, contents, ip, port) {
var head = "HTTP/1.1 200 OK\r\nContent-Type: xml\r\n\r\n";
var get = "GET /resource.txt HTTP/1.1\r\n\r\n\r\n";
return head + readFile("/sys/addressbook") + "\r\n";
}

View File