mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-07 02:26:28 +02:00
10 lines
No EOL
451 B
Python
10 lines
No EOL
451 B
Python
#!/usr/bin/env python
|
|
|
|
def execute(api):
|
|
api.send("eth0","Hello World!",1,1)
|
|
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 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 |