mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:32:44 +01:00
examples/twr_aloha: interaction, add missing addr parameter
This commit is contained in:
parent
32e78fa921
commit
544551de86
@ -55,9 +55,9 @@ class TwrCmd(ShellInteraction):
|
||||
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(
|
||||
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,
|
||||
async_=async_,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user