mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-05-03 01:57:46 +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
|
@ -1,6 +1,13 @@
|
|||
[t=0.000,src=n0,grp=def] Send 1 bytes on wlan0
|
||||
[t=0.000,src=n1,grp=def] Send 1 bytes on wlan0
|
||||
[t=0.000,src=n0,grp=def] Interferences on wlan0
|
||||
[t=0.000,src=n1,grp=def] Interferences on wlan0
|
||||
[t=0.000,src=n2,grp=def] Interferences on wlan0
|
||||
[t=1.000,src=n1,grp=def] Receive 1 bytes on wlan0 with errors
|
||||
[t=1.000,src=n2,grp=def] Receive 1 bytes on wlan0 with errors
|
||||
[t=1.000,src=n0,grp=def] Receive 1 bytes on wlan0 with errors
|
||||
[t=1.000,src=n2,grp=def] Receive 1 bytes on wlan0
|
||||
[t=1.000,src=n0,grp=def] Sender send code RCode.SUCCESS
|
||||
[t=1.000,src=n1,grp=def] Sender send code RCode.SUCCESS
|
||||
[t=1.000,src=n2,grp=def] Receiver code 1 RCode.INTERFERENCES
|
||||
[t=1.000,src=n0,grp=def] Sender receive code RCode.INTERFERENCES
|
||||
[t=1.000,src=n1,grp=def] Sender receive code RCode.INTERFERENCES
|
||||
[t=1.000,src=n2,grp=def] Receiver code 2 RCode.SUCCESS
|
||||
[t=1.000,src=esds] Simulation ends
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def execute(api):
|
||||
pass
|
||||
code, data=api.receive("wlan0")
|
||||
api.log("Receiver code 1 "+str(code))
|
||||
code, data=api.receive("wlan0")
|
||||
api.log("Receiver code 2 "+str(code))
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def execute(api):
|
||||
api.send("wlan0","Hello World!",1,1)
|
||||
code=api.send("wlan0","Hello World!",1,1)
|
||||
api.log("Sender send code "+str(code))
|
||||
code, data=api.receive("wlan0")
|
||||
api.log("Sender receive code "+str(code))
|
Loading…
Add table
Add a link
Reference in a new issue