mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-07 02:26:28 +02:00
Debug node
This commit is contained in:
parent
16358d5728
commit
2ab1f99aa4
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ class Node:
|
||||||
if reason == "send_return":
|
if reason == "send_return":
|
||||||
p.on_send_return(args[0],args[1],args[2],args[3],args[4])
|
p.on_send_return(args[0],args[1],args[2],args[3],args[4])
|
||||||
if reason == "on_communication_end":
|
if reason == "on_communication_end":
|
||||||
p.on_communication_end(args[0],time,args[1])
|
p.on_communication_end(time,args)
|
||||||
if reason == "terminated":
|
if reason == "terminated":
|
||||||
p.on_terminated()
|
p.on_terminated()
|
||||||
|
|
||||||
|
|
|
@ -123,7 +123,7 @@ class PowerStatesComms(NodePlugin):
|
||||||
self.tx_clock=self.api.read("clock")
|
self.tx_clock=self.api.read("clock")
|
||||||
|
|
||||||
def on_communication_end(self,time,com_event):
|
def on_communication_end(self,time,com_event):
|
||||||
pass
|
print(com_event)
|
||||||
|
|
||||||
def on_send_return(self,interface,data,datasize,dst,code):
|
def on_send_return(self,interface,data,datasize,dst,code):
|
||||||
clock=self.api.read("clock")
|
clock=self.api.read("clock")
|
||||||
|
|
Loading…
Add table
Reference in a new issue