Skip to content

Commit

Permalink
reduce max HDLC buffer size to 5KB (~10x default L+G meter message)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymar9 committed Sep 9, 2021
1 parent aa440e7 commit 9e85c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smartmeter_datacollector/smartmeter/hdlc_dlms_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


class HdlcDlmsParser:
HDLC_BUFFER_MAX_SIZE = 10000
HDLC_BUFFER_MAX_SIZE = 5000

def __init__(self, cosem_config: CosemConfig, block_cipher_key: str = None) -> None:
if block_cipher_key:
Expand Down

0 comments on commit 9e85c18

Please sign in to comment.