mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-07 02:26:28 +02:00
7 lines
190 B
Python
7 lines
190 B
Python
![]() |
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")
|