Debug wired communications when receiver is off.

This commit is contained in:
Loic Guegan 2022-07-01 18:12:28 +02:00
parent 33ffa0b6e0
commit 18c705a11e
4 changed files with 15 additions and 12 deletions

View file

@ -5,4 +5,6 @@ def execute(api):
api.send("eth0","Hello World!",1,1)
api.wait(1) # Goto t=3s
api.send("eth0","Hello World!",15,1) # Communication should not be aborted even if receiver turned_off (e.g UDP)
api.log("End") # Should be printed at t=18s
api.log("End transmission") # Should be printed at t=18s
api.send("eth0","Hello World!",15,1) # Now receiver is off
api.log("End transmission") # Should be printed at t=33s