Go back to commit 1eee1ac8

This commit is contained in:
Loic Guegan 2022-07-14 14:07:52 +02:00
parent 9671fc21ee
commit e0dbebe31d
5 changed files with 53 additions and 22 deletions

View file

@ -6,5 +6,7 @@ def execute(api):
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 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
api.send("eth0","Hello World!",15,1) # Now receiver is off (but send should continue)
api.log("End transmission") # Should be printed at t=33s
api.send("eth0","Hello World!",15,1,receiver_required=True) # Now receiver is off and send should be interrupted
api.log("End transmission") # Should be printed at t=35s (receiver turned off at t=35s)