vif parsing

This commit is contained in:
2020-11-17 18:44:57 +01:00
parent c7ac9a9dc3
commit 7bcfa7070d
3 changed files with 19 additions and 3 deletions

View File

@ -3,11 +3,14 @@
#include <mbus/mbus-protocol.h>
#include <stdint.h>
#include <stdbool.h>
typedef struct {
char name[32];
char unit[16];
int8_t exponent;
bool found;
} parsedVIB_t;
parsedVIB_t parseVIB(mbus_value_information_block vib);