Debug and improve interference detection

This commit is contained in:
Loïc Guégan 2023-08-22 18:18:32 +02:00
parent c05a90570f
commit a7f38dc162
13 changed files with 119 additions and 54 deletions

View file

@ -1,4 +1,9 @@
[t=0.000,src=n0,grp=def] Send 1 bytes on wlan0
[t=0.000,src=n2,grp=def] Send 1 bytes on wlan0
[t=0.000,src=n1,grp=def] Interferences on wlan0
[t=1.000,src=n1,grp=def] Receive 1 bytes on wlan0 with errors
[t=1.000,src=n1,grp=def] Receive 1 bytes on wlan0 with errors
[t=1.000,src=n0,grp=def] Sender RCode.SUCCESS
[t=1.000,src=n1,grp=def] Receiver RCode.INTERFERENCES
[t=1.000,src=n2,grp=def] Sender RCode.SUCCESS
[t=1.000,src=n1,grp=def] Receiver RCode.INTERFERENCES
[t=1.000,src=esds] Simulation ends

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
def execute(api):
pass
code,data=api.receive("wlan0")
api.log("Receiver "+str(code))
code,data=api.receive("wlan0")
api.log("Receiver "+str(code))

View file

@ -1,4 +1,5 @@
#!/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 "+str(code))