mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-06 01:56:27 +02:00
6 lines
190 B
Python
6 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")
|