mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-05-15 20:07:40 +00:00
Debug and improve interference detection
This commit is contained in:
parent
c05a90570f
commit
a7f38dc162
13 changed files with 119 additions and 54 deletions
11
tests/api_send_interferences_wlan0_ncom_2s1r/sender.py
Normal file
11
tests/api_send_interferences_wlan0_ncom_2s1r/sender.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def execute(api):
|
||||
if api.node_id==0:
|
||||
code=api.send("wlan0","hello",50,None)
|
||||
else:
|
||||
code=api.send("wlan0","hello",50,None)
|
||||
api.log("Sender send code is "+str(code))
|
||||
code,data=api.receive("wlan0")
|
||||
api.log("Sender receive code is "+str(code))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue