mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-28 04:55:46 +00:00
Add support for Landis+Gyr meters using "LGF" manufacturer ID
This commit is contained in:
@@ -33,6 +33,9 @@ IEC6205621::IEC6205621(const char* p) {
|
|||||||
} else if(listId.startsWith("Ene") || listId.startsWith("EST")) {
|
} else if(listId.startsWith("Ene") || listId.startsWith("EST")) {
|
||||||
meterType = AmsTypeSagemcom;
|
meterType = AmsTypeSagemcom;
|
||||||
listId = listId.substring(0,4);
|
listId = listId.substring(0,4);
|
||||||
|
} else if(listId.startsWith("LGF")) {
|
||||||
|
meterType = AmsTypeLandis;
|
||||||
|
listId = listId.substring(0,4);
|
||||||
} else {
|
} else {
|
||||||
meterType = AmsTypeUnknown;
|
meterType = AmsTypeUnknown;
|
||||||
listId = listId.substring(0,4);
|
listId = listId.substring(0,4);
|
||||||
|
|||||||
Reference in New Issue
Block a user