esds/tests/api_send_wlan0_2s1r/sender.py

7 lines
No EOL
211 B
Python

#!/usr/bin/env python
def execute(api):
code=api.send("wlan0","Hello World!",1,1)
api.log("Sender send code "+str(code))
code, data=api.receive("wlan0")
api.log("Sender receive code "+str(code))