From f90bd24f54fba55702ae54414b35fe5934f02aff Mon Sep 17 00:00:00 2001 From: uhi22 Date: Tue, 23 May 2023 07:26:08 +0200 Subject: [PATCH] fix: EvseMode/SLAC: avoid overwriting of the end of RunID --- pyPlcHomeplug.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyPlcHomeplug.py b/pyPlcHomeplug.py index f626350..d2aa682 100644 --- a/pyPlcHomeplug.py +++ b/pyPlcHomeplug.py @@ -343,9 +343,7 @@ class pyPlcHomeplug(): self.fillDestinationMac(self.pevMac, 28) # forwarding_sta, same as PEV MAC, plus 2 bytes 00 00 self.mytransmitbuffer[34]=0x00 # self.mytransmitbuffer[35]=0x00 # - self.fillRunId(36) # runid 8 bytes - self.mytransmitbuffer[42]=0x0 # - self.mytransmitbuffer[43]=0x0 # + self.fillRunId(36) # 36 to 43 runid 8 bytes # rest is 00 def composeStartAttenCharInd(self):