summaryrefslogtreecommitdiff
path: root/tests/api_send_eth0_1s1r/sender.py
blob: 64293daca0274402e9c6f3d82d1f848ebd771d93 (plain)
1
2
3
4
5
6
7
8
#!/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") # Should be printed at t=18s