Added detection for Kaifa through system title

This commit is contained in:
Gunnar Skjold 2023-03-27 09:20:16 +02:00
parent dff55b4eee
commit 58fec70e7c

View File

@ -163,6 +163,8 @@ IEC6205675::IEC6205675(const char* d, uint8_t useMeterType, MeterConfig* meterCo
if(meterType == AmsTypeUnknown) {
if(memcmp(ctx.system_title, "SAGY", 4) == 0) {
meterType = AmsTypeSagemcom;
} else if(memcmp(ctx.system_title, "KFM", 3) == 0) {
meterType = AmsTypeKaifa;
}
}