first use of libmbus
This commit is contained in:
parent
3285773212
commit
2032dab64e
@ -78,7 +78,12 @@ static void parseAndPrintFrame(t_longframe *frame) {
|
||||
memset(&frame_data, 0, sizeof(frame_data));
|
||||
|
||||
mbus_frame_data_parse(&reply, &frame_data);
|
||||
mbus_frame_print(&reply);
|
||||
|
||||
char *xml = mbus_frame_data_xml(&frame_data);
|
||||
if (xml != NULL) {
|
||||
logMsg(xml);
|
||||
free(xml);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user