Monitor for central heating system (e.g. 2zones+hw) Supports up to 15 temp probes (DS18B20/DS18S20) 3 valve monitors Gas pulse meter recording Use stand-alone or with nodeEnergyServer See http://robdobson.com/2015/09/central-heating-monitor
Dependencies: EthernetInterfacePlusHostname NTPClient Onewire RdWebServer SDFileSystem-RTOS mbed-rtos mbed-src
Diff: main.cpp
- Revision:
- 16:89778849e9f7
- Parent:
- 14:3c3aa4fd7e1a
- Child:
- 18:d419ccebc666
--- a/main.cpp Tue Mar 03 17:36:24 2015 +0000 +++ b/main.cpp Mon Sep 28 10:33:14 2015 +0000 @@ -151,14 +151,16 @@ led3 = false; } -char* getCurDataCallback(int method, char* cmdStr, char* argStr) +char* getCurDataCallback(int method, char* cmdStr, char* argStr, char* msgBuffer, int msgLen, + int contentLen, unsigned char* pPayload, int payloadLen, int splitPayloadPos) { // Format message GenBroadcastMessage(); return broadcastMsgBuffer; } -char* setGasUseCallback(int method, char* cmdStr, char* argStr) +char* setGasUseCallback(int method, char* cmdStr, char* argStr, char* msgBuffer, int msgLen, + int contentLen, unsigned char* pPayload, int payloadLen, int splitPayloadPos) { pc.printf("Setting gas use count %s\r\n", argStr); int newGasUse = 0;