20 lines
321 B
C
20 lines
321 B
C
#ifndef _MBUSPARSEREXT_H_
|
|
#define _MBUSPARSEREXT_H_
|
|
|
|
#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);
|
|
|
|
|
|
|
|
#endif //_MBUSPARSEREXT_H_
|