mirror of
https://github.com/uhi22/pyPLC.git
synced 2024-11-10 01:05:42 +00:00
transmission of test frame works
This commit is contained in:
parent
07f33d3bc8
commit
b97966e61d
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ class pyPlcHomeplug():
|
|||
self.mytransmitbuffer[59]=0x0 #
|
||||
|
||||
def sendTestFrame(self):
|
||||
addToTrace("transmitting test frame...")
|
||||
self.addToTrace("transmitting test frame...")
|
||||
self.composeTestFrame()
|
||||
self.sniffer.sendpacket(bytes(self.mytransmitbuffer))
|
||||
|
||||
|
@ -163,7 +163,7 @@ class pyPlcHomeplug():
|
|||
self.sniffer.setnonblock(True)
|
||||
print("sniffer created at " + self.strInterfaceName)
|
||||
|
||||
def addToTrace(s):
|
||||
def addToTrace(self, s):
|
||||
self.callbackAddToTrace(s)
|
||||
|
||||
def showStatus(self, s):
|
||||
|
|
Loading…
Reference in a new issue