Rewrote the webserver so that sensor data is loaded using Ajax-style XmlHttpRequest and that a spinner icon is shown when the data is loaded

This commit is contained in:
adamdunkels 2009-05-11 17:38:29 +00:00
parent e6d2fada05
commit 7bd7cd64b3
7 changed files with 487 additions and 251 deletions

View file

@ -28,7 +28,7 @@
* *
* This file is part of the uIP TCP/IP stack. * This file is part of the uIP TCP/IP stack.
* *
* $Id: ajax-cgi.c,v 1.2 2008/11/06 08:24:20 adamdunkels Exp $ * $Id: ajax-cgi.c,v 1.3 2009/05/11 17:38:29 adamdunkels Exp $
* *
*/ */
@ -101,8 +101,10 @@ httpd_cgi_add(struct httpd_cgi_call *c)
} }
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#if CONTIKI_TARGET_SKY
#include "dev/sht11.h" #include "dev/sht11.h"
#include "dev/light.h" #include "dev/light.h"
#endif /* CONTIKI_TARGET_SKY */
static static
PT_THREAD(sensorscall(struct httpd_state *s, char *ptr)) PT_THREAD(sensorscall(struct httpd_state *s, char *ptr))
@ -116,23 +118,32 @@ PT_THREAD(sensorscall(struct httpd_state *s, char *ptr))
timer_set(&t, CLOCK_SECOND); timer_set(&t, CLOCK_SECOND);
i = 0; i = 0;
while(1) { /* while(1)*/ {
timer_restart(&t); /* timer_restart(&t);
PSOCK_WAIT_UNTIL(&s->sout, timer_expired(&t)); PSOCK_WAIT_UNTIL(&s->sout, timer_expired(&t));*/
#if CONTIKI_TARGET_SKY
snprintf(buf, sizeof(buf), snprintf(buf, sizeof(buf),
"<script type='text/javascript'>t(%d);h(%d);l1(%d);l2(%d);</script>", "t(%d);h(%d);l1(%d);l2(%d);",
sht11_temp(), sht11_temp(),
sht11_humidity(), sht11_humidity(),
sensors_light1(), sensors_light1(),
sensors_light2()); sensors_light2());
#else /* CONTIKI_TARGET_SKY */
snprintf(buf, sizeof(buf),
"t(%d);h(%d);l1(%d);l2(%d);",
0,
0,
0,
0);
#endif /* CONTIKI_TARGET_SKY */
PSOCK_SEND_STR(&s->sout, buf); PSOCK_SEND_STR(&s->sout, buf);
timer_restart(&t); /* timer_restart(&t);
PSOCK_WAIT_UNTIL(&s->sout, timer_expired(&t)); PSOCK_WAIT_UNTIL(&s->sout, timer_expired(&t));*/
snprintf(buf, sizeof(buf), snprintf(buf, sizeof(buf),
"<script type='text/javascript'>p(%lu,%lu,%lu,%lu);i(%d);</script>", "p(%lu,%lu,%lu,%lu);i(%d);",
energest_type_time(ENERGEST_TYPE_CPU) - last_cpu, energest_type_time(ENERGEST_TYPE_CPU) - last_cpu,
energest_type_time(ENERGEST_TYPE_LPM) - last_lpm, energest_type_time(ENERGEST_TYPE_LPM) - last_lpm,
energest_type_time(ENERGEST_TYPE_TRANSMIT) - last_transmit, energest_type_time(ENERGEST_TYPE_TRANSMIT) - last_transmit,
@ -170,6 +181,8 @@ PT_THREAD(neighborscall(struct httpd_state *s, char *ptr))
{ {
PSOCK_BEGIN(&s->sout); PSOCK_BEGIN(&s->sout);
announcement_listen(1);
/* printf("neighbor_num %d\n", neighbor_num());*/ /* printf("neighbor_num %d\n", neighbor_num());*/
for(s->u.count = 0; s->u.count < neighbor_num(); s->u.count++) { for(s->u.count = 0; s->u.count < neighbor_num(); s->u.count++) {
@ -185,8 +198,8 @@ PT_THREAD(neighborscall(struct httpd_state *s, char *ptr))
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
static void static void
adv_received(struct neighbor_discovery_conn *c, rimeaddr_t *from, received_announcement(struct announcement *a, rimeaddr_t *from,
uint16_t rtmetric) uint16_t id, uint16_t value)
{ {
struct neighbor *n; struct neighbor *n;
@ -195,22 +208,23 @@ adv_received(struct neighbor_discovery_conn *c, rimeaddr_t *from,
n = neighbor_find(from); n = neighbor_find(from);
if(n == NULL) { if(n == NULL) {
neighbor_add(from, rtmetric, 1); neighbor_add(from, value, 1);
} else { } else {
neighbor_update(n, rtmetric); neighbor_update(n, value);
} }
} }
static const struct neighbor_discovery_callbacks neighbor_discovery_callbacks = /*static const struct neighbor_discovery_callbacks neighbor_discovery_callbacks =
{ adv_received, NULL}; { adv_received, NULL};*/
HTTPD_CGI_CALL(sensors, "sensors", sensorscall); HTTPD_CGI_CALL(sensors, "sensors", sensorscall);
HTTPD_CGI_CALL(nodeid, "nodeid", nodeidcall); HTTPD_CGI_CALL(nodeid, "nodeid", nodeidcall);
HTTPD_CGI_CALL(neighbors, "neighbors", neighborscall); HTTPD_CGI_CALL(neighbors, "neighbors", neighborscall);
static struct neighbor_discovery_conn conn; /*static struct neighbor_discovery_conn conn;*/
static struct announcement announcement;
void void
httpd_cgi_init(void) httpd_cgi_init(void)
@ -220,11 +234,15 @@ httpd_cgi_init(void)
httpd_cgi_add(&nodeid); httpd_cgi_add(&nodeid);
httpd_cgi_add(&neighbors); httpd_cgi_add(&neighbors);
neighbor_discovery_open(&conn, 31, announcement_register(&announcement, 31, 0,
received_announcement);
announcement_listen(2);
/* neighbor_discovery_open(&conn, 31,
CLOCK_SECOND * 4, CLOCK_SECOND * 4,
CLOCK_SECOND * 20, CLOCK_SECOND * 20,
CLOCK_SECOND * 60, CLOCK_SECOND * 60,
&neighbor_discovery_callbacks); &neighbor_discovery_callbacks);
neighbor_discovery_start(&conn, 0); neighbor_discovery_start(&conn, 0);*/
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View file

@ -30,7 +30,7 @@
* *
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
* $Id: httpd-fs.c,v 1.1 2008/07/07 23:42:32 adamdunkels Exp $ * $Id: httpd-fs.c,v 1.2 2009/05/11 17:38:29 adamdunkels Exp $
*/ */
#include "contiki-net.h" #include "contiki-net.h"
@ -80,7 +80,7 @@ httpd_fs_open(const char *name, struct httpd_fs_file *file)
if(httpd_fs_strcmp(name, f->name) == 0) { if(httpd_fs_strcmp(name, f->name) == 0) {
file->data = f->data; file->data = f->data;
file->len = f->len; file->len = f->len - 1;
#if HTTPD_FS_STATISTICS #if HTTPD_FS_STATISTICS
++count[i]; ++count[i];
#endif /* HTTPD_FS_STATISTICS */ #endif /* HTTPD_FS_STATISTICS */

View file

@ -3,7 +3,7 @@
<head> <head>
<title>Contiki</title> <title>Contiki</title>
</head> </head>
<body bgcolor="white"> <body bgcolor="white" onload="load()">
<table border=0 cellpadding=4 cellspacing=4><tr><td valign="top" align="right"> <table border=0 cellpadding=4 cellspacing=4><tr><td valign="top" align="right">
<h1>Contiki&nbsp;</h1> <h1>Contiki&nbsp;</h1>
<a href="/">Front page</a><br> <a href="/">Front page</a><br>

View file

@ -0,0 +1 @@
%! sensors

View file

@ -1,5 +1,47 @@
%!: /header.html %!: /header.html
<script type="text/javascript"> <script type="text/javascript">
var start;
i = new Image(50,60)
i.src = "spin.gif"
function load() {
var img = document.getElementById("spin");
img.innerHTML = '&nbsp;';
loadSensordata();
}
function loadSensordata() {
var r;
try { r = new XMLHttpRequest(); }
catch(e) {
try { r = new ActiveXObject("Msxml2.XMLHTTP"); }
catch(e) {
try { r = new ActiveXObject("Microsoft.XMLHTTP"); }
catch(e) {
alert("Your browser does not support AJAX!");
return false;
}
}
}
r.onreadystatechange = function() {
if(r.readyState == 1) {
var img = document.getElementById("spin");
img.innerHTML = '<img src="spin.gif">';
}
if(r.readyState == 4) {
var img = document.getElementById("spin");
img.innerHTML = 'took ' +
((new Date()).getTime() - start.getTime()) / 1000 +
' seconds';
eval(r.responseText);
}
}
start = new Date();
r.open("GET", "/sensordata.shtml", true);
r.send(null);
}
function e(el) { function e(el) {
d = document; d = document;
if(d.getElementById) { if(d.getElementById) {
@ -59,6 +101,9 @@ function i(n) {
<h1>Node <h1>Node
%! nodeid %! nodeid
</h1> </h1>
<a onclick="loadSensordata();" href="#">Reload</a>
<span id="spin"> </span>
<h2>Environment</h2> <h2>Environment</h2>
<div id="temp"></div> <div id="temp"></div>
<div id="hum"></div> <div id="hum"></div>
@ -74,5 +119,5 @@ function i(n) {
<br><br> <br><br>
<div id="i">0</div> <div id="i">0</div>
%!: /footer.html %!: /footer.html
%! sensors

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

View file

@ -1,3 +1,366 @@
static const unsigned char data_sensordata_shtml[] = {
/* /sensordata.shtml */
0x2f, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
0x25, 0x21, 0x20, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73,
0xa, 0};
static const unsigned char data_sensors_shtml[] = {
/* /sensors.shtml */
0x2f, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
0x25, 0x21, 0x3a, 0x20, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65,
0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0xa, 0x3c, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d,
0x22, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x6a, 0x61, 0x76, 0x61,
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x22, 0x3e, 0xa, 0x76,
0x61, 0x72, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3b, 0xa,
0xa, 0x69, 0x20, 0x3d, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x49,
0x6d, 0x61, 0x67, 0x65, 0x28, 0x35, 0x30, 0x2c, 0x36, 0x30,
0x29, 0xa, 0x69, 0x2e, 0x73, 0x72, 0x63, 0x20, 0x3d, 0x20,
0x22, 0x73, 0x70, 0x69, 0x6e, 0x2e, 0x67, 0x69, 0x66, 0x22,
0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x20, 0x6c, 0x6f, 0x61, 0x64, 0x28, 0x29, 0x20, 0x7b, 0xa,
0x20, 0x20, 0x76, 0x61, 0x72, 0x20, 0x69, 0x6d, 0x67, 0x20,
0x3d, 0x20, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
0x2e, 0x67, 0x65, 0x74, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e,
0x74, 0x42, 0x79, 0x49, 0x64, 0x28, 0x22, 0x73, 0x70, 0x69,
0x6e, 0x22, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x69, 0x6d, 0x67,
0x2e, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x48, 0x54, 0x4d, 0x4c,
0x20, 0x3d, 0x20, 0x27, 0x26, 0x6e, 0x62, 0x73, 0x70, 0x3b,
0x27, 0x3b, 0xa, 0x20, 0x20, 0x6c, 0x6f, 0x61, 0x64, 0x53,
0x65, 0x6e, 0x73, 0x6f, 0x72, 0x64, 0x61, 0x74, 0x61, 0x28,
0x29, 0x3b, 0xa, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6c, 0x6f, 0x61, 0x64, 0x53,
0x65, 0x6e, 0x73, 0x6f, 0x72, 0x64, 0x61, 0x74, 0x61, 0x28,
0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x76, 0x61, 0x72, 0x20,
0x72, 0x3b, 0xa, 0x20, 0x20, 0x74, 0x72, 0x79, 0x20, 0x7b,
0x20, 0x72, 0x20, 0x3d, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x58,
0x4d, 0x4c, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x28, 0x29, 0x3b, 0x20, 0x7d, 0xa, 0x20,
0x20, 0x63, 0x61, 0x74, 0x63, 0x68, 0x28, 0x65, 0x29, 0x20,
0x7b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x74, 0x72, 0x79, 0x20,
0x7b, 0x20, 0x72, 0x20, 0x3d, 0x20, 0x6e, 0x65, 0x77, 0x20,
0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x58, 0x4f, 0x62, 0x6a,
0x65, 0x63, 0x74, 0x28, 0x22, 0x4d, 0x73, 0x78, 0x6d, 0x6c,
0x32, 0x2e, 0x58, 0x4d, 0x4c, 0x48, 0x54, 0x54, 0x50, 0x22,
0x29, 0x3b, 0x20, 0x7d, 0xa, 0x20, 0x20, 0x20, 0x20, 0x63,
0x61, 0x74, 0x63, 0x68, 0x28, 0x65, 0x29, 0x20, 0x7b, 0xa,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x74, 0x72, 0x79, 0x20,
0x7b, 0x20, 0x72, 0x20, 0x3d, 0x20, 0x6e, 0x65, 0x77, 0x20,
0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x58, 0x4f, 0x62, 0x6a,
0x65, 0x63, 0x74, 0x28, 0x22, 0x4d, 0x69, 0x63, 0x72, 0x6f,
0x73, 0x6f, 0x66, 0x74, 0x2e, 0x58, 0x4d, 0x4c, 0x48, 0x54,
0x54, 0x50, 0x22, 0x29, 0x3b, 0x20, 0x7d, 0xa, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x63, 0x61, 0x74, 0x63, 0x68, 0x28,
0x65, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x28, 0x22,
0x59, 0x6f, 0x75, 0x72, 0x20, 0x62, 0x72, 0x6f, 0x77, 0x73,
0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f,
0x74, 0x20, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x20,
0x41, 0x4a, 0x41, 0x58, 0x21, 0x22, 0x29, 0x3b, 0xa, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x72, 0x65, 0x74,
0x75, 0x72, 0x6e, 0x20, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x3b,
0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0xa, 0x20,
0x20, 0x20, 0x20, 0x7d, 0xa, 0x20, 0x20, 0x7d, 0xa, 0x20,
0x20, 0x72, 0x2e, 0x6f, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x79,
0x73, 0x74, 0x61, 0x74, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x67,
0x65, 0x20, 0x3d, 0x20, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x28, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x20,
0x20, 0x69, 0x66, 0x28, 0x72, 0x2e, 0x72, 0x65, 0x61, 0x64,
0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x20, 0x3d, 0x3d, 0x20,
0x31, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x76, 0x61, 0x72, 0x20, 0x69, 0x6d, 0x67, 0x20, 0x3d,
0x20, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
0x67, 0x65, 0x74, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
0x42, 0x79, 0x49, 0x64, 0x28, 0x22, 0x73, 0x70, 0x69, 0x6e,
0x22, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x69, 0x6d, 0x67, 0x2e, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x48,
0x54, 0x4d, 0x4c, 0x20, 0x3d, 0x20, 0x27, 0x3c, 0x69, 0x6d,
0x67, 0x20, 0x73, 0x72, 0x63, 0x3d, 0x22, 0x73, 0x70, 0x69,
0x6e, 0x2e, 0x67, 0x69, 0x66, 0x22, 0x3e, 0x27, 0x3b, 0xa,
0x20, 0x20, 0x20, 0x20, 0x7d, 0xa, 0x20, 0x20, 0x20, 0x20,
0x69, 0x66, 0x28, 0x72, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x79,
0x53, 0x74, 0x61, 0x74, 0x65, 0x20, 0x3d, 0x3d, 0x20, 0x34,
0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x76, 0x61, 0x72, 0x20, 0x69, 0x6d, 0x67, 0x20, 0x3d, 0x20,
0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x67,
0x65, 0x74, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42,
0x79, 0x49, 0x64, 0x28, 0x22, 0x73, 0x70, 0x69, 0x6e, 0x22,
0x29, 0x3b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x69,
0x6d, 0x67, 0x2e, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x48, 0x54,
0x4d, 0x4c, 0x20, 0x3d, 0x20, 0x27, 0x74, 0x6f, 0x6f, 0x6b,
0x20, 0x27, 0x20, 0x20, 0x2b, 0xa, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x28, 0x28,
0x6e, 0x65, 0x77, 0x20, 0x44, 0x61, 0x74, 0x65, 0x28, 0x29,
0x29, 0x2e, 0x67, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x28,
0x29, 0x20, 0x2d, 0x20, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74,
0x2e, 0x67, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x28, 0x29,
0x29, 0x20, 0x2f, 0x20, 0x31, 0x30, 0x30, 0x30, 0x20, 0x2b,
0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x27, 0x20, 0x73, 0x65, 0x63, 0x6f, 0x6e,
0x64, 0x73, 0x27, 0x3b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x65, 0x76, 0x61, 0x6c, 0x28, 0x72, 0x2e, 0x72, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x65, 0x78, 0x74,
0x29, 0x3b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0xa,
0x20, 0x20, 0x20, 0x7d, 0xa, 0x20, 0x20, 0x73, 0x74, 0x61,
0x72, 0x74, 0x20, 0x3d, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x44,
0x61, 0x74, 0x65, 0x28, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x72,
0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x28, 0x22, 0x47, 0x45, 0x54,
0x22, 0x2c, 0x20, 0x22, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x6f,
0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x73, 0x68, 0x74, 0x6d,
0x6c, 0x22, 0x2c, 0x20, 0x74, 0x72, 0x75, 0x65, 0x29, 0x3b,
0xa, 0x20, 0x20, 0x72, 0x2e, 0x73, 0x65, 0x6e, 0x64, 0x28,
0x6e, 0x75, 0x6c, 0x6c, 0x29, 0x3b, 0xa, 0x7d, 0xa, 0xa,
0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65,
0x28, 0x65, 0x6c, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x64,
0x20, 0x3d, 0x20, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
0x74, 0x3b, 0xa, 0x20, 0x20, 0x69, 0x66, 0x28, 0x64, 0x2e,
0x67, 0x65, 0x74, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
0x42, 0x79, 0x49, 0x64, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20,
0x20, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x64,
0x2e, 0x67, 0x65, 0x74, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e,
0x74, 0x42, 0x79, 0x49, 0x64, 0x28, 0x65, 0x6c, 0x29, 0x3b,
0xa, 0x20, 0x20, 0x7d, 0x20, 0x65, 0x6c, 0x73, 0x65, 0x20,
0x69, 0x66, 0x20, 0x28, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x29,
0x20, 0x7b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x72, 0x65, 0x74,
0x75, 0x72, 0x6e, 0x20, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x5b,
0x65, 0x6c, 0x5d, 0x3b, 0xa, 0x20, 0x20, 0x7d, 0xa, 0x7d,
0xa, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20,
0x73, 0x28, 0x65, 0x6c, 0x2c, 0x6e, 0x2c, 0x6d, 0x61, 0x78,
0x2c, 0x74, 0x65, 0x78, 0x74, 0x29, 0x20, 0x7b, 0xa, 0x20,
0x20, 0x65, 0x28, 0x65, 0x6c, 0x29, 0x2e, 0x69, 0x6e, 0x6e,
0x65, 0x72, 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x3d, 0x20, 0x27,
0x3c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x77, 0x69, 0x64,
0x74, 0x68, 0x3d, 0x35, 0x30, 0x34, 0x20, 0x62, 0x6f, 0x72,
0x64, 0x65, 0x72, 0x3d, 0x30, 0x20, 0x63, 0x65, 0x6c, 0x6c,
0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3d, 0x31, 0x20,
0x63, 0x65, 0x6c, 0x6c, 0x73, 0x70, 0x61, 0x63, 0x69, 0x6e,
0x67, 0x3d, 0x30, 0x3e, 0x27, 0x2b, 0xa, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x27, 0x3c, 0x74,
0x72, 0x3e, 0x3c, 0x74, 0x64, 0x20, 0x77, 0x69, 0x64, 0x74,
0x68, 0x3d, 0x32, 0x30, 0x30, 0x3e, 0x27, 0x20, 0x2b, 0xa,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x74, 0x65, 0x78, 0x74, 0x20, 0x2b, 0x20, 0x27, 0x3c, 0x2f,
0x74, 0x64, 0x3e, 0x27, 0x20, 0x2b, 0xa, 0x9, 0x9, 0x20,
0x20, 0x20, 0x20, 0x27, 0x3c, 0x74, 0x64, 0x20, 0x77, 0x69,
0x64, 0x74, 0x68, 0x3d, 0x27, 0x20, 0x2b, 0x20, 0x28, 0x33,
0x30, 0x30, 0x2a, 0x6e, 0x2f, 0x6d, 0x61, 0x78, 0x29, 0x20,
0x2b, 0x20, 0x27, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c, 0x6f,
0x72, 0x3d, 0x22, 0x67, 0x72, 0x61, 0x79, 0x22, 0x3e, 0x26,
0x6e, 0x62, 0x73, 0x70, 0x3b, 0x3c, 0x2f, 0x74, 0x64, 0x3e,
0x27, 0x20, 0x2b, 0xa, 0x9, 0x9, 0x20, 0x20, 0x20, 0x20,
0x27, 0x3c, 0x74, 0x64, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68,
0x3d, 0x27, 0x20, 0x2b, 0x20, 0x28, 0x33, 0x30, 0x30, 0x2d,
0x33, 0x30, 0x30, 0x2a, 0x6e, 0x2f, 0x6d, 0x61, 0x78, 0x29,
0x20, 0x2b, 0x20, 0x27, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c,
0x6f, 0x72, 0x3d, 0x22, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x67,
0x72, 0x61, 0x79, 0x22, 0x3e, 0x26, 0x6e, 0x62, 0x73, 0x70,
0x3b, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x27, 0x20, 0x2b, 0xa,
0x9, 0x9, 0x20, 0x20, 0x20, 0x20, 0x27, 0x3c, 0x2f, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x3e, 0x27, 0x3b, 0xa, 0x7d, 0xa,
0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x64,
0x63, 0x28, 0x6e, 0x2c, 0x64, 0x29, 0x20, 0x7b, 0xa, 0x20,
0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6e, 0x2e,
0x74, 0x6f, 0x46, 0x69, 0x78, 0x65, 0x64, 0x28, 0x64, 0x29,
0x3b, 0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x20, 0x74, 0x28, 0x6d, 0x29, 0x20, 0x7b, 0xa,
0x20, 0x20, 0x6e, 0x20, 0x3d, 0x20, 0x64, 0x63, 0x28, 0x2d,
0x33, 0x39, 0x2e, 0x36, 0x2b, 0x30, 0x2e, 0x30, 0x31, 0x2a,
0x6d, 0x2c, 0x20, 0x31, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x73,
0x28, 0x27, 0x74, 0x65, 0x6d, 0x70, 0x27, 0x2c, 0x6e, 0x2c,
0x34, 0x30, 0x2c, 0x27, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72,
0x61, 0x74, 0x75, 0x72, 0x65, 0x20, 0x27, 0x2b, 0x6e, 0x2b,
0x27, 0x20, 0x26, 0x64, 0x65, 0x67, 0x3b, 0x43, 0x27, 0x29,
0x3b, 0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x20, 0x68, 0x28, 0x6d, 0x29, 0x20, 0x7b, 0xa,
0x20, 0x20, 0x6e, 0x20, 0x3d, 0x20, 0x64, 0x63, 0x28, 0x2d,
0x34, 0x2b, 0x30, 0x2e, 0x30, 0x34, 0x30, 0x35, 0x2a, 0x6d,
0x20, 0x2d, 0x20, 0x32, 0x2e, 0x38, 0x65, 0x2d, 0x36, 0x2a,
0x28, 0x6d, 0x2a, 0x6d, 0x29, 0x2c, 0x20, 0x32, 0x29, 0x3b,
0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x68, 0x75, 0x6d, 0x27,
0x2c, 0x6e, 0x2c, 0x31, 0x30, 0x30, 0x2c, 0x27, 0x48, 0x75,
0x6d, 0x69, 0x64, 0x69, 0x74, 0x79, 0x20, 0x27, 0x2b, 0x6e,
0x2b, 0x27, 0x25, 0x27, 0x29, 0x3b, 0xa, 0x7d, 0xa, 0x66,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6c, 0x31,
0x28, 0x6d, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x6e, 0x20,
0x3d, 0x20, 0x64, 0x63, 0x28, 0x2e, 0x37, 0x36, 0x32, 0x39,
0x33, 0x39, 0x34, 0x33, 0x37, 0x35, 0x2a, 0x6d, 0x2c, 0x20,
0x30, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x6c,
0x31, 0x27, 0x2c, 0x6e, 0x2c, 0x32, 0x30, 0x30, 0x2c, 0x27,
0x4c, 0x69, 0x67, 0x68, 0x74, 0x20, 0x31, 0x20, 0x27, 0x2b,
0x6e, 0x29, 0x3b, 0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6c, 0x32, 0x28, 0x6d, 0x29,
0x20, 0x7b, 0xa, 0x20, 0x20, 0x6e, 0x20, 0x3d, 0x20, 0x64,
0x63, 0x28, 0x2e, 0x34, 0x36, 0x39, 0x33, 0x36, 0x30, 0x33,
0x2a, 0x6d, 0x2c, 0x20, 0x30, 0x29, 0x3b, 0xa, 0x20, 0x20,
0x73, 0x28, 0x27, 0x6c, 0x32, 0x27, 0x2c, 0x6e, 0x2c, 0x32,
0x30, 0x30, 0x2c, 0x27, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x20,
0x32, 0x20, 0x27, 0x2b, 0x6e, 0x29, 0x3b, 0xa, 0x7d, 0xa,
0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72,
0x73, 0x28, 0x6d, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x6e,
0x20, 0x3d, 0x20, 0x6d, 0x20, 0x2b, 0x20, 0x34, 0x35, 0x3b,
0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x72, 0x73, 0x27, 0x2c,
0x6e, 0x2c, 0x31, 0x30, 0x30, 0x2c, 0x27, 0x52, 0x53, 0x53,
0x49, 0x20, 0x27, 0x2b, 0x6e, 0x29, 0x3b, 0xa, 0x7d, 0xa,
0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x70,
0x28, 0x63, 0x2c, 0x6c, 0x2c, 0x74, 0x2c, 0x72, 0x29, 0x20,
0x7b, 0xa, 0x20, 0x20, 0x74, 0x6d, 0x3d, 0x63, 0x2b, 0x6c,
0x3b, 0xa, 0x20, 0x20, 0x63, 0x70, 0x3d, 0x63, 0x2a, 0x31,
0x2e, 0x38, 0x2f, 0x74, 0x6d, 0x3b, 0xa, 0x20, 0x20, 0x6c,
0x70, 0x3d, 0x6c, 0x2a, 0x30, 0x2e, 0x30, 0x35, 0x34, 0x35,
0x2f, 0x74, 0x6d, 0x3b, 0xa, 0x20, 0x20, 0x6c, 0x74, 0x3d,
0x74, 0x2a, 0x31, 0x37, 0x2e, 0x37, 0x2f, 0x74, 0x6d, 0x3b,
0xa, 0x20, 0x20, 0x6c, 0x72, 0x3d, 0x72, 0x2a, 0x32, 0x30,
0x2f, 0x74, 0x6d, 0x3b, 0xa, 0x20, 0x20, 0x6e, 0x3d, 0x63,
0x70, 0x2b, 0x6c, 0x70, 0x2b, 0x6c, 0x74, 0x2b, 0x6c, 0x72,
0x3b, 0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x70, 0x27, 0x2c,
0x6e, 0x2c, 0x33, 0x30, 0x2c, 0x27, 0x50, 0x6f, 0x77, 0x65,
0x72, 0x20, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x20, 0x27, 0x2b, 0x64, 0x63, 0x28, 0x6e,
0x2c, 0x32, 0x29, 0x2b, 0x27, 0x20, 0x6d, 0x57, 0x27, 0x29,
0x3b, 0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x70, 0x63, 0x27,
0x2c, 0x63, 0x70, 0x2c, 0x33, 0x30, 0x2c, 0x27, 0x43, 0x50,
0x55, 0x20, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x20, 0x27, 0x2b,
0x64, 0x63, 0x28, 0x63, 0x70, 0x2c, 0x32, 0x29, 0x2b, 0x27,
0x20, 0x6d, 0x57, 0x27, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x73,
0x28, 0x27, 0x70, 0x6c, 0x27, 0x2c, 0x6c, 0x70, 0x2c, 0x33,
0x30, 0x2c, 0x27, 0x4c, 0x50, 0x4d, 0x20, 0x70, 0x6f, 0x77,
0x65, 0x72, 0x20, 0x27, 0x2b, 0x64, 0x63, 0x28, 0x6c, 0x70,
0x2c, 0x32, 0x29, 0x2b, 0x27, 0x20, 0x6d, 0x57, 0x27, 0x29,
0x3b, 0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x70, 0x72, 0x27,
0x2c, 0x6c, 0x72, 0x2c, 0x33, 0x30, 0x2c, 0x27, 0x52, 0x61,
0x64, 0x69, 0x6f, 0x20, 0x52, 0x58, 0x20, 0x70, 0x6f, 0x77,
0x65, 0x72, 0x20, 0x27, 0x2b, 0x64, 0x63, 0x28, 0x6c, 0x72,
0x2c, 0x32, 0x29, 0x2b, 0x27, 0x20, 0x6d, 0x57, 0x27, 0x29,
0x3b, 0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x70, 0x74, 0x27,
0x2c, 0x6c, 0x74, 0x2c, 0x33, 0x30, 0x2c, 0x27, 0x52, 0x61,
0x64, 0x69, 0x6f, 0x20, 0x54, 0x58, 0x20, 0x70, 0x6f, 0x77,
0x65, 0x72, 0x20, 0x27, 0x2b, 0x64, 0x63, 0x28, 0x6c, 0x74,
0x2c, 0x32, 0x29, 0x2b, 0x27, 0x20, 0x6d, 0x57, 0x27, 0x29,
0x3b, 0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x20, 0x69, 0x28, 0x6e, 0x29, 0x20, 0x7b, 0xa,
0x20, 0x20, 0x65, 0x28, 0x27, 0x69, 0x27, 0x29, 0x2e, 0x69,
0x6e, 0x6e, 0x65, 0x72, 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x3d,
0x20, 0x6e, 0x3b, 0xa, 0x7d, 0xa, 0x3c, 0x2f, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x3e, 0xa, 0x3c, 0x68, 0x31, 0x3e,
0x4e, 0x6f, 0x64, 0x65, 0xa, 0x25, 0x21, 0x20, 0x6e, 0x6f,
0x64, 0x65, 0x69, 0x64, 0xa, 0x3c, 0x2f, 0x68, 0x31, 0x3e,
0xa, 0x3c, 0x61, 0x20, 0x6f, 0x6e, 0x63, 0x6c, 0x69, 0x63,
0x6b, 0x3d, 0x22, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x6e,
0x73, 0x6f, 0x72, 0x64, 0x61, 0x74, 0x61, 0x28, 0x29, 0x3b,
0x22, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x23, 0x22,
0x3e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x3c, 0x2f, 0x61,
0x3e, 0xa, 0xa, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x20, 0x69,
0x64, 0x3d, 0x22, 0x73, 0x70, 0x69, 0x6e, 0x22, 0x3e, 0x20,
0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0xa, 0x3c, 0x68,
0x32, 0x3e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
0x65, 0x6e, 0x74, 0x3c, 0x2f, 0x68, 0x32, 0x3e, 0xa, 0x3c,
0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x74, 0x65,
0x6d, 0x70, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e,
0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22,
0x68, 0x75, 0x6d, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76,
0x3e, 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x4c, 0x69, 0x67, 0x68,
0x74, 0x3c, 0x2f, 0x68, 0x32, 0x3e, 0xa, 0x3c, 0x64, 0x69,
0x76, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x6c, 0x31, 0x22, 0x3e,
0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0xa, 0x3c, 0x64, 0x69,
0x76, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x6c, 0x32, 0x22, 0x3e,
0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0xa, 0x3c, 0x68, 0x32,
0x3e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x3c, 0x2f, 0x68, 0x32,
0x3e, 0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d,
0x22, 0x70, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e,
0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22,
0x70, 0x63, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e,
0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22,
0x70, 0x6c, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e,
0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22,
0x70, 0x72, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e,
0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22,
0x70, 0x74, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e,
0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x62, 0x72, 0x3e, 0xa,
0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x69,
0x22, 0x3e, 0x30, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0xa,
0x25, 0x21, 0x3a, 0x20, 0x2f, 0x66, 0x6f, 0x6f, 0x74, 0x65,
0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0xa, 0xa, 0xa, 0};
static const unsigned char data_footer_html[] = {
/* /footer.html */
0x2f, 0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0,
0x3c, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3e, 0xa, 0x3c,
0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68,
0x74, 0x6d, 0x6c, 0x3e, 0xa, 0};
static const unsigned char data_spin_gif[] = {
/* /spin.gif */
0x2f, 0x73, 0x70, 0x69, 0x6e, 0x2e, 0x67, 0x69, 0x66, 0,
0x47, 0x49, 0x46, 0x38, 0x39, 0x61, 0x12, 00, 0xf, 00,
0xf2, 00, 00, 0xff, 0xff, 0xff, 00, 00, 00, 00,
00, 00, 0x5c, 0x5c, 0x5c, 0xb4, 0xb4, 0xb4, 00, 00,
00, 00, 00, 00, 00, 00, 00, 0x21, 0xff, 0xb,
0x4e, 0x45, 0x54, 0x53, 0x43, 0x41, 0x50, 0x45, 0x32, 0x2e,
0x30, 0x3, 0x1, 00, 00, 00, 0x21, 0xfe, 0x1a, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74,
0x68, 0x20, 0x61, 0x6a, 0x61, 0x78, 0x6c, 0x6f, 0x61, 0x64,
0x2e, 0x69, 0x6e, 0x66, 0x6f, 00, 0x21, 0xf9, 0x4, 0x9,
0x5, 00, 00, 00, 0x2c, 00, 00, 00, 00, 0x12,
00, 0xf, 00, 00, 0x3, 0x1c, 0x8, 0xba, 0xdc, 0xfe,
0x30, 0xca, 0x49, 0xab, 0xbd, 0x38, 0x57, 0x21, 0x2e, 0xe7,
0xd6, 0xd7, 0x1, 0x3, 0x5, 0x92, 0x43, 0x9, 0x10, 0x4,
0xa5, 0x6a, 0x4e, 0x2, 00, 0x21, 0xf9, 0x4, 0x9, 0x5,
00, 00, 00, 0x2c, 00, 00, 00, 00, 0x12, 00,
0xf, 00, 00, 0x3, 0x1e, 0x8, 0xba, 0xdc, 0xfe, 0x30,
0xca, 0x49, 0xab, 0x6d, 0xe2, 0x2, 0xc1, 0x75, 0xd6, 0xca,
0x30, 0x5c, 0xa2, 0x68, 0x95, 0x23, 0x40, 0x50, 0xa6, 0x4a,
0xac, 0x17, 0xc, 0x3e, 0x9, 00, 0x21, 0xf9, 0x4, 0x9,
0x5, 00, 00, 00, 0x2c, 00, 00, 00, 00, 0x12,
00, 0xf, 00, 00, 0x3, 0x1c, 0x8, 0xba, 0xdc, 0xfe,
0x30, 0x4a, 0x20, 0xc4, 0xbc, 0x38, 0xab, 0xa1, 0xc1, 0xf8,
0x1d, 0xd7, 0x29, 0x4, 0xa1, 0x95, 0x65, 0x86, 0x9a, 0x2a,
0x3b, 0xbe, 0x53, 0x2, 00, 0x21, 0xf9, 0x4, 0x9, 0x5,
00, 00, 00, 0x2c, 00, 00, 00, 00, 0x12, 00,
0xf, 00, 00, 0x3, 0x17, 0x8, 0xba, 0xdc, 0xbe, 0xe2,
0xc9, 0xf9, 0xc6, 0xa0, 0x38, 0x6b, 0x47, 0xb6, 0x22, 0xa0,
0x7, 0x74, 0x62, 0x69, 0x9e, 0x68, 0x8a, 0x25, 00, 0x21,
0xf9, 0x4, 0x9, 0x5, 00, 00, 00, 0x2c, 00, 00,
00, 00, 0x12, 00, 0xf, 00, 00, 0x3, 0x14, 0x8,
0xba, 0xdc, 0xbe, 0xe3, 0xc9, 0x27, 0x24, 0x21, 0x33, 0xeb,
0xcd, 0xbb, 0xff, 0x60, 0x28, 0x8e, 0x24, 0x98, 00, 00,
0x21, 0xf9, 0x4, 0x9, 0x5, 00, 00, 00, 0x2c, 00,
00, 00, 00, 0x12, 00, 0xf, 00, 00, 0x3, 0x14,
0x8, 0xba, 0xdc, 0xbe, 0xe4, 0xc9, 0x37, 0xa6, 0xbd, 0x38,
0x2f, 0xa1, 0xbb, 0xff, 0x60, 0x28, 0x8e, 0x24, 0x90, 00,
00, 0x21, 0xf9, 0x4, 0x9, 0x5, 00, 00, 00, 0x2c,
00, 00, 00, 00, 0x12, 00, 0xf, 00, 00, 0x3,
0x13, 0x8, 0xba, 0xdc, 0xfe, 0x30, 0x2a, 0x22, 0xab, 0xbd,
0x76, 0xe0, 0xcd, 0xbb, 0x8f, 0xc2, 0x27, 0x8e, 0x57, 0x2,
00, 0x21, 0xf9, 0x4, 0x9, 0x5, 00, 00, 00, 0x2c,
00, 00, 00, 00, 0x12, 00, 0xf, 00, 00, 0x3,
0x14, 0x8, 0xba, 0xdc, 0xfe, 0x30, 0xca, 0x49, 0xab, 0x5,
0xe4, 0xea, 0xcd, 0x3b, 0x1b, 0x1e, 0x25, 0x8, 0x21, 0x97,
00, 00, 0x21, 0xf9, 0x4, 0x9, 0x5, 00, 00, 00,
0x2c, 00, 00, 00, 00, 0x12, 00, 0xf, 00, 00,
0x3, 0x17, 0x8, 0xba, 0xdc, 0xfe, 0x30, 0xca, 0x49, 0xab,
0xbd, 0x38, 0xeb, 0xed, 0x88, 0x14, 0x98, 0x20, 0x2a, 0xc3,
0x40, 0x81, 0x5c, 0x93, 00, 00, 0x3b, 00, 00, 00,
00, 00, 00, 00, 00, 00, 0};
static const unsigned char data_neighbors_shtml[] = {
/* /neighbors.shtml */
0x2f, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
0x25, 0x21, 0x3a, 0x20, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65,
0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0xa, 0x3c, 0x68, 0x31,
0x3e, 0x4e, 0x6f, 0x64, 0x65, 0xa, 0x25, 0x21, 0x20, 0x6e,
0x6f, 0x64, 0x65, 0x69, 0x64, 0xa, 0x3c, 0x2f, 0x68, 0x31,
0x3e, 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x4e, 0x65, 0x69, 0x67,
0x68, 0x62, 0x6f, 0x72, 0x73, 0x3c, 0x2f, 0x68, 0x32, 0x3e,
0xa, 0x3c, 0x75, 0x6c, 0x3e, 0xa, 0x25, 0x21, 0x20, 0x6e,
0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x73, 0xa, 0x3c,
0x2f, 0x75, 0x6c, 0x3e, 0xa, 0x25, 0x21, 0x3a, 0x20, 0x2f,
0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d,
0x6c, 0xa, 0xa, 0};
static const unsigned char data_404_html[] = { static const unsigned char data_404_html[] = {
/* /404.html */ /* /404.html */
0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0, 0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0,
@ -19,13 +382,6 @@ static const unsigned char data_404_html[] = {
0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e,
0}; 0};
static const unsigned char data_footer_html[] = {
/* /footer.html */
0x2f, 0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0,
0x3c, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3e, 0xa, 0x3c,
0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68,
0x74, 0x6d, 0x6c, 0x3e, 0xa, 0};
static const unsigned char data_header_html[] = { static const unsigned char data_header_html[] = {
/* /header.html */ /* /header.html */
0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0,
@ -45,33 +401,35 @@ static const unsigned char data_header_html[] = {
0x69, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, 0xa, 0x69, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, 0xa,
0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x3c, 0x62, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x3c, 0x62,
0x6f, 0x64, 0x79, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c, 0x6f, 0x6f, 0x64, 0x79, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c, 0x6f,
0x72, 0x3d, 0x22, 0x77, 0x68, 0x69, 0x74, 0x65, 0x22, 0x3e, 0x72, 0x3d, 0x22, 0x77, 0x68, 0x69, 0x74, 0x65, 0x22, 0x20,
0xa, 0x3c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x62, 0x6f, 0x6f, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x3d, 0x22, 0x6c, 0x6f,
0x72, 0x64, 0x65, 0x72, 0x3d, 0x30, 0x20, 0x63, 0x65, 0x6c, 0x61, 0x64, 0x28, 0x29, 0x22, 0x3e, 0xa, 0x3c, 0x74, 0x61,
0x6c, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3d, 0x34, 0x62, 0x6c, 0x65, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72,
0x20, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x70, 0x61, 0x63, 0x69, 0x3d, 0x30, 0x20, 0x63, 0x65, 0x6c, 0x6c, 0x70, 0x61, 0x64,
0x6e, 0x67, 0x3d, 0x34, 0x3e, 0x3c, 0x74, 0x72, 0x3e, 0x3c, 0x64, 0x69, 0x6e, 0x67, 0x3d, 0x34, 0x20, 0x63, 0x65, 0x6c,
0x74, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3d, 0x6c, 0x73, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x3d, 0x34,
0x22, 0x74, 0x6f, 0x70, 0x22, 0x20, 0x61, 0x6c, 0x69, 0x67, 0x3e, 0x3c, 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x64, 0x20, 0x76,
0x6e, 0x3d, 0x22, 0x72, 0x69, 0x67, 0x68, 0x74, 0x22, 0x3e, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3d, 0x22, 0x74, 0x6f, 0x70,
0xa, 0x3c, 0x68, 0x31, 0x3e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x22, 0x20, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3d, 0x22, 0x72,
0x6b, 0x69, 0x26, 0x6e, 0x62, 0x73, 0x70, 0x3b, 0x3c, 0x2f, 0x69, 0x67, 0x68, 0x74, 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x31,
0x68, 0x31, 0x3e, 0xa, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x3e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6b, 0x69, 0x26, 0x6e,
0x66, 0x3d, 0x22, 0x2f, 0x22, 0x3e, 0x46, 0x72, 0x6f, 0x6e, 0x62, 0x73, 0x70, 0x3b, 0x3c, 0x2f, 0x68, 0x31, 0x3e, 0xa,
0x74, 0x20, 0x70, 0x61, 0x67, 0x65, 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x2f,
0x22, 0x3e, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x20, 0x70, 0x61,
0x67, 0x65, 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x62, 0x72, 0x3e,
0xa, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22,
0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x73, 0x2e,
0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x4e, 0x65, 0x69,
0x67, 0x68, 0x62, 0x6f, 0x72, 0x73, 0x3c, 0x2f, 0x61, 0x3e,
0x3c, 0x62, 0x72, 0x3e, 0xa, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x3c, 0x62, 0x72, 0x3e, 0xa, 0x3c, 0x61, 0x20, 0x68, 0x72,
0x65, 0x66, 0x3d, 0x22, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x65, 0x66, 0x3d, 0x22, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72,
0x6f, 0x72, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x53,
0x3e, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x3c, 0x2f, 0x61, 0x3e,
0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x62, 0x72, 0x3e, 0xa, 0x3c, 0x3c, 0x62, 0x72, 0x3e, 0xa, 0x3c, 0x2f, 0x74, 0x64, 0x3e,
0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x73, 0x65, 0x3c, 0x74, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x67, 0x6e,
0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x3d, 0x22, 0x74, 0x6f, 0x70, 0x22, 0x20, 0x61, 0x6c, 0x69,
0x6c, 0x22, 0x3e, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x67, 0x6e, 0x3d, 0x22, 0x6c, 0x65, 0x66, 0x74, 0x22, 0x3e,
0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x62, 0x72, 0x3e, 0xa, 0x3c, 0xa, 0};
0x2f, 0x74, 0x64, 0x3e, 0x3c, 0x74, 0x64, 0x20, 0x76, 0x61,
0x6c, 0x69, 0x67, 0x6e, 0x3d, 0x22, 0x74, 0x6f, 0x70, 0x22,
0x20, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3d, 0x22, 0x6c, 0x65,
0x66, 0x74, 0x22, 0x3e, 0xa, 0};
static const unsigned char data_index_html[] = { static const unsigned char data_index_html[] = {
/* /index.html */ /* /index.html */
@ -123,208 +481,22 @@ static const unsigned char data_index_html[] = {
0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa,
0}; 0};
static const unsigned char data_neighbors_shtml[] = { const struct httpd_fsdata_file file_sensordata_shtml[] = {{NULL, data_sensordata_shtml, data_sensordata_shtml + 18, sizeof(data_sensordata_shtml) - 18}};
/* /neighbors.shtml */
0x2f, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
0x25, 0x21, 0x3a, 0x20, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65,
0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0xa, 0x3c, 0x68, 0x31,
0x3e, 0x4e, 0x6f, 0x64, 0x65, 0xa, 0x25, 0x21, 0x20, 0x6e,
0x6f, 0x64, 0x65, 0x69, 0x64, 0xa, 0x3c, 0x2f, 0x68, 0x31,
0x3e, 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x4e, 0x65, 0x69, 0x67,
0x68, 0x62, 0x6f, 0x72, 0x73, 0x3c, 0x2f, 0x68, 0x32, 0x3e,
0xa, 0x3c, 0x75, 0x6c, 0x3e, 0xa, 0x25, 0x21, 0x20, 0x6e,
0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x73, 0xa, 0x3c,
0x2f, 0x75, 0x6c, 0x3e, 0xa, 0x25, 0x21, 0x3a, 0x20, 0x2f,
0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d,
0x6c, 0xa, 0xa, 0};
static const unsigned char data_sensors_shtml[] = { const struct httpd_fsdata_file file_sensors_shtml[] = {{file_sensordata_shtml, data_sensors_shtml, data_sensors_shtml + 15, sizeof(data_sensors_shtml) - 15}};
/* /sensors.shtml */
0x2f, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0,
0x25, 0x21, 0x3a, 0x20, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65,
0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0xa, 0x3c, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d,
0x22, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x6a, 0x61, 0x76, 0x61,
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x22, 0x3e, 0xa, 0x66,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, 0x28,
0x65, 0x6c, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x64, 0x20,
0x3d, 0x20, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
0x3b, 0xa, 0x20, 0x20, 0x69, 0x66, 0x28, 0x64, 0x2e, 0x67,
0x65, 0x74, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42,
0x79, 0x49, 0x64, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x20,
0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x64, 0x2e,
0x67, 0x65, 0x74, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
0x42, 0x79, 0x49, 0x64, 0x28, 0x65, 0x6c, 0x29, 0x3b, 0xa,
0x20, 0x20, 0x7d, 0x20, 0x65, 0x6c, 0x73, 0x65, 0x20, 0x69,
0x66, 0x20, 0x28, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x29, 0x20,
0x7b, 0xa, 0x20, 0x20, 0x20, 0x20, 0x72, 0x65, 0x74, 0x75,
0x72, 0x6e, 0x20, 0x64, 0x2e, 0x61, 0x6c, 0x6c, 0x5b, 0x65,
0x6c, 0x5d, 0x3b, 0xa, 0x20, 0x20, 0x7d, 0xa, 0x7d, 0xa,
0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x73,
0x28, 0x65, 0x6c, 0x2c, 0x6e, 0x2c, 0x6d, 0x61, 0x78, 0x2c,
0x74, 0x65, 0x78, 0x74, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20,
0x65, 0x28, 0x65, 0x6c, 0x29, 0x2e, 0x69, 0x6e, 0x6e, 0x65,
0x72, 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x3d, 0x20, 0x27, 0x3c,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x77, 0x69, 0x64, 0x74,
0x68, 0x3d, 0x35, 0x30, 0x34, 0x20, 0x62, 0x6f, 0x72, 0x64,
0x65, 0x72, 0x3d, 0x30, 0x20, 0x63, 0x65, 0x6c, 0x6c, 0x70,
0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3d, 0x31, 0x20, 0x63,
0x65, 0x6c, 0x6c, 0x73, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67,
0x3d, 0x30, 0x3e, 0x27, 0x2b, 0xa, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x27, 0x3c, 0x74, 0x72,
0x3e, 0x3c, 0x74, 0x64, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68,
0x3d, 0x32, 0x30, 0x30, 0x3e, 0x27, 0x20, 0x2b, 0xa, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x74,
0x65, 0x78, 0x74, 0x20, 0x2b, 0x20, 0x27, 0x3c, 0x2f, 0x74,
0x64, 0x3e, 0x27, 0x20, 0x2b, 0xa, 0x9, 0x9, 0x20, 0x20,
0x20, 0x20, 0x27, 0x3c, 0x74, 0x64, 0x20, 0x77, 0x69, 0x64,
0x74, 0x68, 0x3d, 0x27, 0x20, 0x2b, 0x20, 0x28, 0x33, 0x30,
0x30, 0x2a, 0x6e, 0x2f, 0x6d, 0x61, 0x78, 0x29, 0x20, 0x2b,
0x20, 0x27, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
0x3d, 0x22, 0x67, 0x72, 0x61, 0x79, 0x22, 0x3e, 0x26, 0x6e,
0x62, 0x73, 0x70, 0x3b, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x27,
0x20, 0x2b, 0xa, 0x9, 0x9, 0x20, 0x20, 0x20, 0x20, 0x27,
0x3c, 0x74, 0x64, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d,
0x27, 0x20, 0x2b, 0x20, 0x28, 0x33, 0x30, 0x30, 0x2d, 0x33,
0x30, 0x30, 0x2a, 0x6e, 0x2f, 0x6d, 0x61, 0x78, 0x29, 0x20,
0x2b, 0x20, 0x27, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c, 0x6f,
0x72, 0x3d, 0x22, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x67, 0x72,
0x61, 0x79, 0x22, 0x3e, 0x26, 0x6e, 0x62, 0x73, 0x70, 0x3b,
0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x27, 0x20, 0x2b, 0xa, 0x9,
0x9, 0x20, 0x20, 0x20, 0x20, 0x27, 0x3c, 0x2f, 0x74, 0x61,
0x62, 0x6c, 0x65, 0x3e, 0x27, 0x3b, 0xa, 0x7d, 0xa, 0x66,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x64, 0x63,
0x28, 0x6e, 0x2c, 0x64, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20,
0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6e, 0x2e, 0x74,
0x6f, 0x46, 0x69, 0x78, 0x65, 0x64, 0x28, 0x64, 0x29, 0x3b,
0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
0x6e, 0x20, 0x74, 0x28, 0x6d, 0x29, 0x20, 0x7b, 0xa, 0x20,
0x20, 0x6e, 0x20, 0x3d, 0x20, 0x64, 0x63, 0x28, 0x2d, 0x33,
0x39, 0x2e, 0x36, 0x2b, 0x30, 0x2e, 0x30, 0x31, 0x2a, 0x6d,
0x2c, 0x20, 0x31, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x73, 0x28,
0x27, 0x74, 0x65, 0x6d, 0x70, 0x27, 0x2c, 0x6e, 0x2c, 0x34,
0x30, 0x2c, 0x27, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61,
0x74, 0x75, 0x72, 0x65, 0x20, 0x27, 0x2b, 0x6e, 0x2b, 0x27,
0x20, 0x26, 0x64, 0x65, 0x67, 0x3b, 0x43, 0x27, 0x29, 0x3b,
0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
0x6e, 0x20, 0x68, 0x28, 0x6d, 0x29, 0x20, 0x7b, 0xa, 0x20,
0x20, 0x6e, 0x20, 0x3d, 0x20, 0x64, 0x63, 0x28, 0x2d, 0x34,
0x2b, 0x30, 0x2e, 0x30, 0x34, 0x30, 0x35, 0x2a, 0x6d, 0x20,
0x2d, 0x20, 0x32, 0x2e, 0x38, 0x65, 0x2d, 0x36, 0x2a, 0x28,
0x6d, 0x2a, 0x6d, 0x29, 0x2c, 0x20, 0x32, 0x29, 0x3b, 0xa,
0x20, 0x20, 0x73, 0x28, 0x27, 0x68, 0x75, 0x6d, 0x27, 0x2c,
0x6e, 0x2c, 0x31, 0x30, 0x30, 0x2c, 0x27, 0x48, 0x75, 0x6d,
0x69, 0x64, 0x69, 0x74, 0x79, 0x20, 0x27, 0x2b, 0x6e, 0x2b,
0x27, 0x25, 0x27, 0x29, 0x3b, 0xa, 0x7d, 0xa, 0x66, 0x75,
0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6c, 0x31, 0x28,
0x6d, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x6e, 0x20, 0x3d,
0x20, 0x64, 0x63, 0x28, 0x2e, 0x37, 0x36, 0x32, 0x39, 0x33,
0x39, 0x34, 0x33, 0x37, 0x35, 0x2a, 0x6d, 0x2c, 0x20, 0x30,
0x29, 0x3b, 0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x6c, 0x31,
0x27, 0x2c, 0x6e, 0x2c, 0x32, 0x30, 0x30, 0x2c, 0x27, 0x4c,
0x69, 0x67, 0x68, 0x74, 0x20, 0x31, 0x20, 0x27, 0x2b, 0x6e,
0x29, 0x3b, 0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x20, 0x6c, 0x32, 0x28, 0x6d, 0x29, 0x20,
0x7b, 0xa, 0x20, 0x20, 0x6e, 0x20, 0x3d, 0x20, 0x64, 0x63,
0x28, 0x2e, 0x34, 0x36, 0x39, 0x33, 0x36, 0x30, 0x33, 0x2a,
0x6d, 0x2c, 0x20, 0x30, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x73,
0x28, 0x27, 0x6c, 0x32, 0x27, 0x2c, 0x6e, 0x2c, 0x32, 0x30,
0x30, 0x2c, 0x27, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x20, 0x32,
0x20, 0x27, 0x2b, 0x6e, 0x29, 0x3b, 0xa, 0x7d, 0xa, 0x66,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72, 0x73,
0x28, 0x6d, 0x29, 0x20, 0x7b, 0xa, 0x20, 0x20, 0x6e, 0x20,
0x3d, 0x20, 0x6d, 0x20, 0x2b, 0x20, 0x34, 0x35, 0x3b, 0xa,
0x20, 0x20, 0x73, 0x28, 0x27, 0x72, 0x73, 0x27, 0x2c, 0x6e,
0x2c, 0x31, 0x30, 0x30, 0x2c, 0x27, 0x52, 0x53, 0x53, 0x49,
0x20, 0x27, 0x2b, 0x6e, 0x29, 0x3b, 0xa, 0x7d, 0xa, 0x66,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x70, 0x28,
0x63, 0x2c, 0x6c, 0x2c, 0x74, 0x2c, 0x72, 0x29, 0x20, 0x7b,
0xa, 0x20, 0x20, 0x74, 0x6d, 0x3d, 0x63, 0x2b, 0x6c, 0x3b,
0xa, 0x20, 0x20, 0x63, 0x70, 0x3d, 0x63, 0x2a, 0x31, 0x2e,
0x38, 0x2f, 0x74, 0x6d, 0x3b, 0xa, 0x20, 0x20, 0x6c, 0x70,
0x3d, 0x6c, 0x2a, 0x30, 0x2e, 0x30, 0x35, 0x34, 0x35, 0x2f,
0x74, 0x6d, 0x3b, 0xa, 0x20, 0x20, 0x6c, 0x74, 0x3d, 0x74,
0x2a, 0x31, 0x37, 0x2e, 0x37, 0x2f, 0x74, 0x6d, 0x3b, 0xa,
0x20, 0x20, 0x6c, 0x72, 0x3d, 0x72, 0x2a, 0x32, 0x30, 0x2f,
0x74, 0x6d, 0x3b, 0xa, 0x20, 0x20, 0x6e, 0x3d, 0x63, 0x70,
0x2b, 0x6c, 0x70, 0x2b, 0x6c, 0x74, 0x2b, 0x6c, 0x72, 0x3b,
0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x70, 0x27, 0x2c, 0x6e,
0x2c, 0x33, 0x30, 0x2c, 0x27, 0x50, 0x6f, 0x77, 0x65, 0x72,
0x20, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x20, 0x27, 0x2b, 0x64, 0x63, 0x28, 0x6e, 0x2c,
0x32, 0x29, 0x2b, 0x27, 0x20, 0x6d, 0x57, 0x27, 0x29, 0x3b,
0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x70, 0x63, 0x27, 0x2c,
0x63, 0x70, 0x2c, 0x33, 0x30, 0x2c, 0x27, 0x43, 0x50, 0x55,
0x20, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x20, 0x27, 0x2b, 0x64,
0x63, 0x28, 0x63, 0x70, 0x2c, 0x32, 0x29, 0x2b, 0x27, 0x20,
0x6d, 0x57, 0x27, 0x29, 0x3b, 0xa, 0x20, 0x20, 0x73, 0x28,
0x27, 0x70, 0x6c, 0x27, 0x2c, 0x6c, 0x70, 0x2c, 0x33, 0x30,
0x2c, 0x27, 0x4c, 0x50, 0x4d, 0x20, 0x70, 0x6f, 0x77, 0x65,
0x72, 0x20, 0x27, 0x2b, 0x64, 0x63, 0x28, 0x6c, 0x70, 0x2c,
0x32, 0x29, 0x2b, 0x27, 0x20, 0x6d, 0x57, 0x27, 0x29, 0x3b,
0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x70, 0x72, 0x27, 0x2c,
0x6c, 0x72, 0x2c, 0x33, 0x30, 0x2c, 0x27, 0x52, 0x61, 0x64,
0x69, 0x6f, 0x20, 0x52, 0x58, 0x20, 0x70, 0x6f, 0x77, 0x65,
0x72, 0x20, 0x27, 0x2b, 0x64, 0x63, 0x28, 0x6c, 0x72, 0x2c,
0x32, 0x29, 0x2b, 0x27, 0x20, 0x6d, 0x57, 0x27, 0x29, 0x3b,
0xa, 0x20, 0x20, 0x73, 0x28, 0x27, 0x70, 0x74, 0x27, 0x2c,
0x6c, 0x74, 0x2c, 0x33, 0x30, 0x2c, 0x27, 0x52, 0x61, 0x64,
0x69, 0x6f, 0x20, 0x54, 0x58, 0x20, 0x70, 0x6f, 0x77, 0x65,
0x72, 0x20, 0x27, 0x2b, 0x64, 0x63, 0x28, 0x6c, 0x74, 0x2c,
0x32, 0x29, 0x2b, 0x27, 0x20, 0x6d, 0x57, 0x27, 0x29, 0x3b,
0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
0x6e, 0x20, 0x69, 0x28, 0x6e, 0x29, 0x20, 0x7b, 0xa, 0x20,
0x20, 0x65, 0x28, 0x27, 0x69, 0x27, 0x29, 0x2e, 0x69, 0x6e,
0x6e, 0x65, 0x72, 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x3d, 0x20,
0x6e, 0x3b, 0xa, 0x7d, 0xa, 0x3c, 0x2f, 0x73, 0x63, 0x72,
0x69, 0x70, 0x74, 0x3e, 0xa, 0x3c, 0x68, 0x31, 0x3e, 0x4e,
0x6f, 0x64, 0x65, 0xa, 0x25, 0x21, 0x20, 0x6e, 0x6f, 0x64,
0x65, 0x69, 0x64, 0xa, 0x3c, 0x2f, 0x68, 0x31, 0x3e, 0xa,
0x3c, 0x68, 0x32, 0x3e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f,
0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x3c, 0x2f, 0x68, 0x32, 0x3e,
0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22,
0x74, 0x65, 0x6d, 0x70, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69,
0x76, 0x3e, 0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64,
0x3d, 0x22, 0x68, 0x75, 0x6d, 0x22, 0x3e, 0x3c, 0x2f, 0x64,
0x69, 0x76, 0x3e, 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x4c, 0x69,
0x67, 0x68, 0x74, 0x3c, 0x2f, 0x68, 0x32, 0x3e, 0xa, 0x3c,
0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x6c, 0x31,
0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0xa, 0x3c,
0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x6c, 0x32,
0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0xa, 0x3c,
0x68, 0x32, 0x3e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x3c, 0x2f,
0x68, 0x32, 0x3e, 0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69,
0x64, 0x3d, 0x22, 0x70, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69,
0x76, 0x3e, 0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64,
0x3d, 0x22, 0x70, 0x63, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69,
0x76, 0x3e, 0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64,
0x3d, 0x22, 0x70, 0x6c, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69,
0x76, 0x3e, 0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64,
0x3d, 0x22, 0x70, 0x72, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69,
0x76, 0x3e, 0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64,
0x3d, 0x22, 0x70, 0x74, 0x22, 0x3e, 0x3c, 0x2f, 0x64, 0x69,
0x76, 0x3e, 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x62, 0x72,
0x3e, 0xa, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x69, 0x64, 0x3d,
0x22, 0x69, 0x22, 0x3e, 0x30, 0x3c, 0x2f, 0x64, 0x69, 0x76,
0x3e, 0xa, 0x25, 0x21, 0x3a, 0x20, 0x2f, 0x66, 0x6f, 0x6f,
0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0xa, 0x25,
0x21, 0x20, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0xa,
0xa, 0};
const struct httpd_fsdata_file file_404_html[] = {{NULL, data_404_html, data_404_html + 10, sizeof(data_404_html) - 10}}; const struct httpd_fsdata_file file_footer_html[] = {{file_sensors_shtml, data_footer_html, data_footer_html + 13, sizeof(data_footer_html) - 13}};
const struct httpd_fsdata_file file_footer_html[] = {{file_404_html, data_footer_html, data_footer_html + 13, sizeof(data_footer_html) - 13}}; const struct httpd_fsdata_file file_spin_gif[] = {{file_footer_html, data_spin_gif, data_spin_gif + 10, sizeof(data_spin_gif) - 10}};
const struct httpd_fsdata_file file_header_html[] = {{file_footer_html, data_header_html, data_header_html + 13, sizeof(data_header_html) - 13}}; const struct httpd_fsdata_file file_neighbors_shtml[] = {{file_spin_gif, data_neighbors_shtml, data_neighbors_shtml + 17, sizeof(data_neighbors_shtml) - 17}};
const struct httpd_fsdata_file file_404_html[] = {{file_neighbors_shtml, data_404_html, data_404_html + 10, sizeof(data_404_html) - 10}};
const struct httpd_fsdata_file file_header_html[] = {{file_404_html, data_header_html, data_header_html + 13, sizeof(data_header_html) - 13}};
const struct httpd_fsdata_file file_index_html[] = {{file_header_html, data_index_html, data_index_html + 12, sizeof(data_index_html) - 12}}; const struct httpd_fsdata_file file_index_html[] = {{file_header_html, data_index_html, data_index_html + 12, sizeof(data_index_html) - 12}};
const struct httpd_fsdata_file file_neighbors_shtml[] = {{file_index_html, data_neighbors_shtml, data_neighbors_shtml + 17, sizeof(data_neighbors_shtml) - 17}}; #define HTTPD_FS_ROOT file_index_html
const struct httpd_fsdata_file file_sensors_shtml[] = {{file_neighbors_shtml, data_sensors_shtml, data_sensors_shtml + 15, sizeof(data_sensors_shtml) - 15}}; #define HTTPD_FS_NUMFILES 8
#define HTTPD_FS_ROOT file_sensors_shtml
#define HTTPD_FS_NUMFILES 6