esds/tests/api_send_interferences_wlan0_ncom_2s1r/sender.py

11 lines
No EOL
302 B
Python

#!/usr/bin/env python
def execute(api):
if api.node_id==0:
code=api.send("wlan0","hello",50,None)
else:
code=api.send("wlan0","hello",50,None)
api.log("Sender send code is "+str(code))
code,data=api.receive("wlan0")
api.log("Sender receive code is "+str(code))