mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
lf_cisco_dfs.py : modified radar command
This commit is contained in:
@@ -1442,9 +1442,8 @@ class L3VariableTime(Realm):
|
||||
print(child.before.decode('utf-8', 'ignore')) # do not delete this for it allows for subprocess to see output
|
||||
|
||||
child.expect(r'\$')
|
||||
child.close()
|
||||
|
||||
command_hackRF = "sudo ./lf_hackrf.py --pulse_width {} --pulse_interval {} --pulse_count {} --sweep_time {} --freq {}".format(width_,interval_,count_,"1000",frequency_)
|
||||
command_hackRF = "sudo python lf_hackrf.py --pulse_width {} --pulse_interval {} --pulse_count {} --sweep_time {} --freq {}".format(width_,interval_,count_,"1000",frequency_)
|
||||
print("hackrf command {}".format(command_hackRF))
|
||||
child.sendline(command_hackRF)
|
||||
child.expect([pexpect.TIMEOUT], timeout=1) # do not delete this for it allows for subprocess to see output
|
||||
|
||||
Reference in New Issue
Block a user