ap_ctl.py : initial commit for using mux_serial

lf_tx_power.py: TODO for adding the AP module
ct_9136_tx_power_tests.json : using batch mode.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2022-03-16 08:00:03 -06:00
committed by shivam
parent f41a92978e
commit 79c774ffe3
3 changed files with 28 additions and 9 deletions

View File

@@ -1730,6 +1730,7 @@ def main():
try:
logg.info("ap_ctl.py: read AP power information")
# TODO use ap module
ap_info = subprocess.run(["./ap_ctl.py", "--scheme", ap_dict['ap_scheme'], "--prompt", ap_dict['ap_prompt'], "--dest", ap_dict['ap_ip'], "--port", ap_dict["ap_port"],
"--user", ap_dict['ap_user'], "--passwd", ap_dict['ap_pw'], "--action", "powercfg"], stdout=subprocess.PIPE)
try: