Support null values in the middle of the payload

This commit is contained in:
Gunnar Skjold
2022-02-05 19:46:41 +01:00
parent 793bc877fc
commit 7e31a60000

View File

@@ -391,7 +391,8 @@ CosemData* IEC6205675::getCosemDataAt(uint8_t index, const char* ptr) {
pos += 5;
break;
case CosemTypeNull:
return NULL;
pos += 1;
break;
default:
pos += 2;
}