Changed to BearSSL for meter decryption on ESP8266 + some minor changes

This commit is contained in:
Gunnar Skjold
2021-01-17 12:34:57 +01:00
parent af8f5a7c24
commit f9597c786e
345 changed files with 129 additions and 175455 deletions

View File

@@ -168,7 +168,7 @@ int DlmsReader::GetRawData(byte *dataBuffer, int start, int length)
}
int DlmsReader::getBytesRead() {
return dataLength - (3 + destinationAddressLength + sourceAddressLength + 2 + 1);
return dataLength - (destinationAddressLength + sourceAddressLength + 7);
}
byte* DlmsReader::getBuffer() {