1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 17:52:47 +01:00

examples/twr_aloha: interaction, add missing addr parameter

This commit is contained in:
Francisco Molina 2022-04-27 09:04:12 +02:00
parent 32e78fa921
commit 544551de86

View File

@ -55,9 +55,9 @@ class TwrCmd(ShellInteraction):
args=("lst", "on" if on else "off"), timeout=timeout, async_=async_ args=("lst", "on" if on else "off"), timeout=timeout, async_=async_
) )
def twr_req(self, count=1, interval=1000, proto="ss", timeout=-1, async_=False): def twr_req(self, addr="ff:ff", count=1, interval=1000, proto="ss", timeout=-1, async_=False):
return self.twr_cmd( return self.twr_cmd(
args=("req", f"-c {count}", f"-p {proto}", f"-i {interval}"), args=("req", f"{addr}", f"-c {count}", f"-p {proto}", f"-i {interval}"),
timeout=timeout, timeout=timeout,
async_=async_, async_=async_,
) )