1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-26 15:26:24 +00:00
8821cu-20210916/docs/Guides/btcoex/script/btcoex_win.bat
2023-01-06 00:44:32 -06:00

19 lines
524 B
Batchfile

@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