1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-01 09:15:22 +00:00
8821cu-20210916/docs/Guides/btcoex/script/btcoex_win.bat

19 lines
524 B
Batchfile
Raw Normal View History

2023-01-06 06:44:32 +00:00
@echo off
set AndroidADB=adb.exe
set dbgfile=/proc/net/rtl8723bs/wlan0/btcoex
%AndroidADB% shell cat %dbgfile%
%AndroidADB% shell date > Coex_Dbg.log
%AndroidADB% shell cat %dbgfile% > Coex_Dbg.log
%AndroidADB% shell echo -e '\n\n\n' > Coex_Dbg.log
:loop
cls
%AndroidADB% shell cat %dbgfile%
%AndroidADB% shell date >> Coex_Dbg.log
%AndroidADB% shell cat %dbgfile% >> Coex_Dbg.log
%AndroidADB% shell echo -e '\n\n\n' >> Coex_Dbg.log
rem timeout /t 2 || goto end
ping 1.1.1.1 -n 1 -w 2000 > nul
goto loop