Mon, 18 May 2020 11:00:59 +0200
Added reconnecting-websocket.js to automatic reconnect the websocket if the connection is lost. Usefull for mobile devices that go to sleep after a while. Changed mon_fermenters to use websockets instead of polling. Fixed wrong temperature color ranges on the fermenter monior. Increased the websocket receive buffer to 2048. In cannot overflow, but larger messages are chunked and the application does not handle these split messages. Needs termferm 0.9.9 or newer.
0 | 1 | /* config.h.in. */ |
2 | ||
3 | #undef COPYRIGHT | |
4 | #undef VERSION | |
5 | ||
6 | /* Compile experimental code (may not be present) */ | |
7 | #undef USE_EXPERIMENT | |
8 | ||
9 | /* According to Sun we MUST define this in the source */ | |
10 | #define _REENTRANT 1 | |
11 | ||
551
57cb71496a9a
Compile fix for Debian Buster.
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
12 | /* Define if you have the <mysql/mysql.h> header file. */ |
57cb71496a9a
Compile fix for Debian Buster.
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
13 | #undef HAVE_MYSQL_MYSQL_H |
57cb71496a9a
Compile fix for Debian Buster.
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
14 | |
57cb71496a9a
Compile fix for Debian Buster.
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
15 | /* Define if you have the <mariadb/mysql.h> header file. */ |
57cb71496a9a
Compile fix for Debian Buster.
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
16 | #undef HAVE_MARIADB_MYSQL_H |
57cb71496a9a
Compile fix for Debian Buster.
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
17 |