Support null values in the middle of the payload

This commit is contained in:
Gunnar Skjold 2022-02-05 19:34:44 +01:00
parent 5ab6de21dc
commit 793bc877fc

View File

@ -434,7 +434,8 @@ CosemData* IEC6205675::findObis(uint8_t* obis, int matchlength, const char* ptr)
pos += 5;
break;
case CosemTypeNull:
return NULL;
pos += 1;
break;
default:
pos += 2;
}