mbusgateway3variant/cube/User/Inc/mbusParserExt.h

20 lines
327 B
C
Raw Normal View History

2020-11-17 18:13:34 +01:00
#ifndef _MBUSPARSEREXT_H_
#define _MBUSPARSEREXT_H_
#include <mbus/mbus-protocol.h>
2020-11-17 18:44:57 +01:00
#include <stdint.h>
#include <stdbool.h>
2020-11-17 18:13:34 +01:00
typedef struct {
2020-11-20 11:23:44 +01:00
const char *name;
const char *unit;
2020-11-17 18:21:49 +01:00
int8_t exponent;
2020-11-17 18:44:57 +01:00
bool found;
2020-11-17 18:13:34 +01:00
} parsedVIB_t;
parsedVIB_t parseVIB(mbus_value_information_block vib);
#endif //_MBUSPARSEREXT_H_