diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-12 13:22:46 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-12 13:22:46 +0200 |
| commit | 47c71c85c9d018fc42a7182fc7f6265e3a4e5388 (patch) | |
| tree | dc1f0a2860349e8bfe85f4f6f9cce202fbbe604d /manual/assets/node.py | |
| parent | c75fbe854de2a0a881045fbd19a79eb8dcc898e2 (diff) | |
Update manual
Diffstat (limited to 'manual/assets/node.py')
| -rw-r--r-- | manual/assets/node.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manual/assets/node.py b/manual/assets/node.py new file mode 100644 index 0000000..4c03dbf --- /dev/null +++ b/manual/assets/node.py @@ -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") |
