mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-07 02:26:28 +02:00
12 lines
512 B
Python
12 lines
512 B
Python
#!/usr/bin/env python
|
|
|
|
def execute(api):
|
|
api.log("wlan0 is {}".format(api.read("wlan0_ncom")))
|
|
api.wait(624)
|
|
api.log("wlan0 is {}".format(api.read("wlan0_ncom")))
|
|
api.wait(624)
|
|
# Now we are at 624*2=1248 (first sender start a communication)
|
|
api.wait(1) # Let the communication starts
|
|
api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) # Should print 1
|
|
api.wait(1) # Second sender start a communication
|
|
api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) # Should print 2
|