Files
e_power_switch/db/command.proto
T
2026-06-08 13:21:28 +02:00

80 lines
2.0 KiB
Protocol Buffer

get4 {
InTerminator="\r\n";
OutTerminator="\r\n";
out "GET /hidden.htm HTTP/1.1";
out "Host: \$1";
out "Accept: */*";
out "";
in "HTTP/1.0 200 OK";
in "Server: lwIP/1.3.2 (http://www.sics.se/~adam/lwip/)";
in "Content-type: text/html;charset=iso-8859-1";
in "%*[^\r]";
in "Pragma: no-cache";
in "";
in "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">";
in "<html>";
in "<head>";
in "<meta http-equiv="Cache-Control" content="no-cache">";
in "<\head>";
in "<body>Hidden Page<br><pre>";
in "%*d%*s%*d %*d:%*d:%*d";
in "%*s %*s %*s";
in "Version: v %*u.%*u.%*u.%*u";
in "M0:O1=%(AA)s";
in "M0:O2=%(BB)s";
in "M0:O3=%(CC)s";
in "M0:O4=%(DD)s";
in "";
in "</pre>";
in "</body></html>%*s";
disconnect;
}
get8 {
InTerminator="\r\n";
OutTerminator="\r\n";
out "GET /hidden.htm HTTP/1.1";
out "Host: \$1";
out "Accept: */*";
out "";
in "HTTP/1.0 200 OK";
in "Server: lwIP/1.3.2 (http://www.sics.se/~adam/lwip/)";
in "Content-type: text/html;charset=iso-8859-1";
in "%*[^\r]";
in "Pragma: no-cache";
in "";
in "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">";
in "<html>";
in "<head>";
in "<meta http-equiv=\"Cache-Control\" content=\"no-cache\">";
in "</head>";
in "<body>Hidden Page<br><pre>";
in "%*d%*s%*d %*d:%*d:%*d";
in "%*s %*s %*s";
in "Version: v %*u.%*u.%*u.%*u";
in "M0:O1=%(AA)s";
in "M0:O2=%(BB)s";
in "M0:O3=%(CC)s";
in "M0:O4=%(DD)s";
in "M0:O5=%(EE)s";
in "M0:O6=%(FF)s";
in "M0:O7=%(GG)s";
in "M0:O8=%(HH)s";
in "";
in "</pre>";
in "</body></html>%*s";
disconnect;
}
set {
OutTerminator = "\r\n";
out "GET /hidden.htm?M0\%3AO\$2=%s HTTP/1.1";
out "Host: \$1";
out "Accept: */*";
out "Content-Length: 0";
out "";
disconnect;
}