first use of libmbus

This commit is contained in:
2020-11-03 15:08:04 +01:00
parent 6ddc415a45
commit 98b6e37737
2 changed files with 56 additions and 14 deletions

View File

@ -3,7 +3,7 @@
#include <main.h>
#include <stdint.h>
#include <stdbool.h>
#define MBUSFRAMEFIELD_LABELLENGTH 16
typedef struct {
@ -19,6 +19,9 @@ typedef struct {
t_mbusFrameField consideredField[MBUSDEVICE_NUM_OF_CONSIDEREDFIELDS];
uint32_t requests;
uint32_t failures;
int32_t period;
int32_t delay;
bool waiting;
} t_mbusDevice;