Add websocket data feed, send temperature data

PUBLISHED_FROM=e56601f99ccf80d8420b4b54b0ef7c272ec4a656
This commit is contained in:
Deomid Ryabkov authored and rojer committed 2016-03-25 17:10:56 +00:00
1 parent c091e6910b
commit b6d700077a
6 files changed
+176 -11

No files matched your search

-1
View File
@@ -37,7 +37,6 @@ void ev_handler(struct mg_connection *nc, int ev, void *p) {
case MG_EV_HTTP_REQUEST: {
char addr[32];
struct http_message *hm = (struct http_message *) p;
(void) hm;
mg_sock_addr_to_str(&nc->sa, addr, sizeof(addr),
MG_SOCK_STRINGIFY_IP | MG_SOCK_STRINGIFY_PORT);
LOG(LL_INFO,