fix: EvseMode/SLAC: avoid overwriting of the end of RunID

This commit is contained in:
uhi22 2023-05-23 07:26:08 +02:00
parent 063c38884a
commit f90bd24f54

View file

@ -343,9 +343,7 @@ class pyPlcHomeplug():
self.fillDestinationMac(self.pevMac, 28) # forwarding_sta, same as PEV MAC, plus 2 bytes 00 00 self.fillDestinationMac(self.pevMac, 28) # forwarding_sta, same as PEV MAC, plus 2 bytes 00 00
self.mytransmitbuffer[34]=0x00 # self.mytransmitbuffer[34]=0x00 #
self.mytransmitbuffer[35]=0x00 # self.mytransmitbuffer[35]=0x00 #
self.fillRunId(36) # runid 8 bytes self.fillRunId(36) # 36 to 43 runid 8 bytes
self.mytransmitbuffer[42]=0x0 #
self.mytransmitbuffer[43]=0x0 #
# rest is 00 # rest is 00
def composeStartAttenCharInd(self): def composeStartAttenCharInd(self):