mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-19 03:59:45 +00:00
Update manual
This commit is contained in:
parent
c75fbe854d
commit
47c71c85c9
6 changed files with 62 additions and 7 deletions
BIN
manual/assets/components.pdf
Normal file
BIN
manual/assets/components.pdf
Normal file
Binary file not shown.
6
manual/assets/node.py
Normal file
6
manual/assets/node.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
def execute(api):
|
||||
role=api.args # "sender" or "receiver" cf. platform.yaml
|
||||
if role == "sender":
|
||||
api.send("wlan0","MY MESSAGE",10,None)
|
||||
else:
|
||||
api.receive("wlan0")
|
3
manual/assets/output.txt
Normal file
3
manual/assets/output.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
[t=0.000,src=n0] Send 10 bytes on wlan0
|
||||
[t=0.016,src=n1] Receive 10 bytes on wlan0
|
||||
[t=0.016,src=esds] Simulation ends
|
19
manual/assets/platform.yaml
Normal file
19
manual/assets/platform.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
general:
|
||||
interferences: on # Turns on interferences
|
||||
|
||||
nodes:
|
||||
count: 2
|
||||
implementations:
|
||||
- all node.py
|
||||
arguments: {
|
||||
"0": "sender",
|
||||
"1": "receiver"
|
||||
}
|
||||
|
||||
interfaces:
|
||||
wlan0:
|
||||
type: "wireless"
|
||||
links:
|
||||
- all 50kbps 0s all # All nodes are reachable by each other
|
||||
txperfs:
|
||||
- all 50kbps 0s
|
Loading…
Add table
Add a link
Reference in a new issue