Remove interface name from registers

This commit is contained in:
Loic Guegan 2022-06-11 10:32:23 +02:00
parent fa09187031
commit b75498604a
3 changed files with 17 additions and 19 deletions

View file

@ -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