从 Android 应用程序控制串行设备(如 USB 打印机)
我有两个关于 Linux Android 的问题。
文档中写道:
“Android 调试桥 (adb) 是一种多功能命令行工具,可让您与模拟器实例或连接的 Android 设备进行通信。”
显然有一种方法可以从 ADB (Android) 向串行端口 (USB) 发送命令。
所以,我需要从 android 设备发送命令(如 AT 命令)到 USB 设备(打印机)
1)ADB 将出现在带有 android 的真实设备上?哪个版本?
2)还有其他选择吗?
提前致谢
I have two questions about Linux Android.
In the documentation it says:
"Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device."
And apparently there is a way to send a command to serial port (USB) from ADB (Android).
So, I need to send commands (like AT commands) from android device to usb device (printer)
1) The ADB will be present on a real device with android?, which version?
2) is there another alternative?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,情况并非如此。
adb
是一个属于 Android SDK 一部分的程序。它在您的开发机器上运行。它不在模拟器上运行。它不在设备上运行。使用 USB API 和 开放配件开发套件。
Not that I am aware of.
adb
is a program that is part of the Android SDK. It runs on your development machine. It does not run on the emulator. It does not run on the device.Use the USB APIs and the Open Accessory Development Kit, perhaps.