Parse_RSRP_draw
Author: Dustin_Chen, email: Dustin_Chen@compal.com or chuhpsdustin@gmail.com
- 【How to use】
- step0. Set the UE time correctly. ex:
date -s "2024-03-12 10:22:10"
- step1. MobaXterm Session -> SSH -> Termnial settings -> Select "Log terminal output to": _DesktopDir_
- step2. ssh into CPE. ex: 10.205.164.10
- step3-1 【ATOP_CPE】use below command to read at+bnrinfo: read every 60 sec, until 3600 sec
start_time=$(date +%s); while [ $(( $(date +%s) - start_time )) -lt 3600 ]; do echo -ne
"$(date) - "; echo -ne "at+bnrinfo\r\n" | microcom -t 1000 /dev/ttyUSB1 | grep -E "dBm|bnrinfo"; sleep 60;
done
- step3-2 【Mifi】use below command to run 10 times
for i in $(seq 1 10); do echo "$(date) - at+bnrinfo"; atcli at+bnrinfo; done
- step4. paste the _DesktopDir_ output file content below to parse
-