mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-05-07 20:12:50 +00:00
Remove interface name from registers
This commit is contained in:
parent
fa09187031
commit
b75498604a
3 changed files with 17 additions and 19 deletions
|
@ -1,12 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def execute(api):
|
||||
api.log("wlan0 is {}".format(api.read("wlan0_ncom")))
|
||||
api.log("wlan0 is {}".format(api.read("ncom_wlan0")))
|
||||
api.wait(624)
|
||||
api.log("wlan0 is {}".format(api.read("wlan0_ncom")))
|
||||
api.log("wlan0 is {}".format(api.read("ncom_wlan0")))
|
||||
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.log("wlan0 is {}".format(api.read("ncom_wlan0"))) # Should print 1
|
||||
api.wait(1) # Second sender start a communication
|
||||
api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) # Should print 2
|
||||
api.log("wlan0 is {}".format(api.read("ncom_wlan0"))) # Should print 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue