mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-19 03:59:45 +00:00
Simplify the API: Now wired transmission are never aborted if receiver turned off. It will just not receive the data
This commit is contained in:
parent
1eee1ac81a
commit
33ffa0b6e0
5 changed files with 29 additions and 60 deletions
|
@ -3,6 +3,6 @@
|
|||
def execute(api):
|
||||
api.send("eth0","Hello World!",1,1)
|
||||
api.send("eth0","Hello World!",1,1)
|
||||
api.wait(1) # Goto 3 seconds
|
||||
api.send("eth0","Hello World!",1,1)
|
||||
api.send("eth0","Hello World!",10,1,False) # Now communication should not be aborted even if receiver turned_off (e.g UDP)
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue