From 335d3bbc8549650d3051980d9ea80a96a3591ff4 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 16 Feb 2021 13:22:59 +0100 Subject: [PATCH] version in sink --- sink/sink20169.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sink/sink20169.c b/sink/sink20169.c index ce69c21..8fc4720 100644 --- a/sink/sink20169.c +++ b/sink/sink20169.c @@ -270,8 +270,9 @@ int httpPostRequest(char *url, const char *user, const char *pass, char *payload } int forwardMinuteBuffer(t_forwarderHandle *handle, t_minuteBuffer *buf) { - logmsg(LOG_INFO, "DeviceId: %s, RunningHours: %u, Powercycles: %u, WatchdogResets: %u", - buf->s.deviceId, buf->s.totalRunningHours, buf->s.totalPowercycles, buf->s.totalWatchdogResets); + logmsg(LOG_INFO, "D: %s, R: %u, P: %u, W: %u, V: %08x", + buf->s.deviceId, buf->s.totalRunningHours, buf->s.totalPowercycles, buf->s.totalWatchdogResets, + buf->s.version); t_device *device = findDevice(handle->configHandle, buf->s.deviceId); const char *location = device->location;