From 8d1308cdefef8439d6c330350ef025bb7c95c8d6 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 3 Nov 2020 10:58:41 +0100 Subject: [PATCH] first use of libmbus --- cube/User/Src/mbusComm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cube/User/Src/mbusComm.c b/cube/User/Src/mbusComm.c index f7d2062..cdb8740 100644 --- a/cube/User/Src/mbusComm.c +++ b/cube/User/Src/mbusComm.c @@ -80,6 +80,12 @@ static void parseAndPrintFrame(t_longframe *frame) { r = mbus_frame_data_parse(&reply, &frame_data); logMsg("papf parse: %d, t:%d", r, frame_data.type); + mbus_data_record *record; + for (record = frame_data.data_var.record; + record; + record = record->next) { + logMsg("papf X: %d", record->data_len); + } }