mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-01 12:38:40 +00:00
Changed to BearSSL for meter decryption on ESP8266 + some minor changes
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user