diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-07-01 13:05:33 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-07-01 13:05:33 +0200 |
| commit | 33ffa0b6e0af5e2f658d9d12d0347ea57edc97a7 (patch) | |
| tree | d3d2382f01af9fc9232ff60b8bcd7c52f2e70602 /tests/api_send_eth0_1s1r/sender.py | |
| parent | 1eee1ac81a0ef7f86c7acc2d431b0ac084aebf14 (diff) | |
Simplify the API: Now wired transmission are never aborted if receiver turned off. It will just not receive the data
Diffstat (limited to 'tests/api_send_eth0_1s1r/sender.py')
| -rw-r--r-- | tests/api_send_eth0_1s1r/sender.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/api_send_eth0_1s1r/sender.py b/tests/api_send_eth0_1s1r/sender.py index a01b371..64293da 100644 --- a/tests/api_send_eth0_1s1r/sender.py +++ b/tests/api_send_eth0_1s1r/sender.py @@ -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
\ No newline at end of file |
