Changes after testing

This commit is contained in:
Gunnar Skjold
2023-01-17 17:48:42 +01:00
parent 3bc6c75c5a
commit 222a4f13e2
3 changed files with 1 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
LNG::LNG(const char* payload, uint8_t useMeterType, MeterConfig* meterConfig, DataParserContext &ctx, RemoteDebug* debugger) {
LngHeader* h = (LngHeader*) payload;
if(h->tag == CosemTypeStructure && h->arrayTag == CosemTypeArray) {
meterType = AmsTypeLng;
meterType = AmsTypeLandisGyr;
this->packageTimestamp = ctx.timestamp;
uint8_t* ptr = (uint8_t*) &h[1];