如何获得两个零件ADB(Android调试桥)命令在C#中产生

发布于 2025-02-05 02:35:34 字数 906 浏览 2 评论 0原文

我正在网上搜索很长时间。但是没有用。请帮助或尝试给出一些想法。

[et图下,有两个部分ADB命令,当我输入“退出”零件命令时,我想在下面获得结果,难度在于我输入“ Autobt ...”部分,它并没有真正返回到外壳状态,我需要输入“退出”命令以计算和退出壳状态,因此我不能使用standardOutput.readodtod to to to to to to Resulter,它将是 永远卡住了,

C:/Users/......>adb shell
ailabsz06:/ #                         -----enter the shell command
ailabsz06:/ # autobt nsrx -c 39 -n 0  -----part one command
BT device power on success
Rx pattern: 0x04
R channel: 20
Packet type: OxOf
Tester address: 88cOffee
Non-Signal-Rx test start.
exit                                  -----part two command
Non -Signal-Rx test complete
Total received packet: 2257
Packet Error Rate: 0.000000%
Total received payload byte: 60939
Bit Error Rate: 0: 000000%
BT device power off
ailabsz06:/ #                ----after exit command,enter shell again

我想把它拿出两个星期,我很长一段时间搜索答案,但我仍然把它弄清楚了。所以我真的很想要您的帮助。

有没有人遇到这个问题,给我一个巧克力,TK。

I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this.

[e.t picture below, there are two parts adb command, when I input 'exit' part command, I want to get the result below,The difficulty lies in that i input 'autobt ...' part ,it did not realy return to the shell state, I need to input 'exit' command to compute and exit to shell state, so i can't use StandardOutPut.ReadToEnd method to get the results ,it will be
stuck forever

C:/Users/......>adb shell
ailabsz06:/ #                         -----enter the shell command
ailabsz06:/ # autobt nsrx -c 39 -n 0  -----part one command
BT device power on success
Rx pattern: 0x04
R channel: 20
Packet type: OxOf
Tester address: 88cOffee
Non-Signal-Rx test start.
exit                                  -----part two command
Non -Signal-Rx test complete
Total received packet: 2257
Packet Error Rate: 0.000000%
Total received payload byte: 60939
Bit Error Rate: 0: 000000%
BT device power off
ailabsz06:/ #                ----after exit command,enter shell again

I want to get this out for two weeks, I search the answer for long time, but i still get it out. so i really want your helps.

Had anyone encountered this problem, give me a chocolate, tks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文