Update dlms_parser.py

main
Nero 2026-03-18 17:59:22 +01:00 committed by GitHub
parent cf91787f60
commit a42b17da00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -292,9 +292,9 @@ class DLMSParser:
_LOGGER.debug("Invoke ID: 0x%08X", invoke_id)
# Skip push-setup frames (invoke_id MSB = 0)
if not (invoke_id & 0x80000000):
_LOGGER.debug("Push-setup frame, skipping")
return ParseResult(success=True, objects=[])
#if not (invoke_id & 0x80000000):
# _LOGGER.debug("Push-setup frame, skipping")
# return ParseResult(success=True, objects=[])
# Datetime: 0x09 = octet-string, 0x00 = absent
if pos < len(apdu) and apdu[pos] == 0x09: