esds/tests/api_send_eth0_1s1r/sender.py

9 lines
321 B
Python
Raw Normal View History

2022-06-09 21:48:32 +02:00
#!/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 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)