<small id='jYkEQ'></small><noframes id='jYkEQ'>

      <bdo id='jYkEQ'></bdo><ul id='jYkEQ'></ul>

    <i id='jYkEQ'><tr id='jYkEQ'><dt id='jYkEQ'><q id='jYkEQ'><span id='jYkEQ'><b id='jYkEQ'><form id='jYkEQ'><ins id='jYkEQ'></ins><ul id='jYkEQ'></ul><sub id='jYkEQ'></sub></form><legend id='jYkEQ'></legend><bdo id='jYkEQ'><pre id='jYkEQ'><center id='jYkEQ'></center></pre></bdo></b><th id='jYkEQ'></th></span></q></dt></tr></i><div id='jYkEQ'><tfoot id='jYkEQ'></tfoot><dl id='jYkEQ'><fieldset id='jYkEQ'></fieldset></dl></div>
    <legend id='jYkEQ'><style id='jYkEQ'><dir id='jYkEQ'><q id='jYkEQ'></q></dir></style></legend>
    1. <tfoot id='jYkEQ'></tfoot>
      1. 通过 Android 与串行 USB 设备通信

        Communicating with serial USB device over Android(通过 Android 与串行 USB 设备通信)
        <legend id='pOmVS'><style id='pOmVS'><dir id='pOmVS'><q id='pOmVS'></q></dir></style></legend>

        • <bdo id='pOmVS'></bdo><ul id='pOmVS'></ul>

            • <small id='pOmVS'></small><noframes id='pOmVS'>

            • <i id='pOmVS'><tr id='pOmVS'><dt id='pOmVS'><q id='pOmVS'><span id='pOmVS'><b id='pOmVS'><form id='pOmVS'><ins id='pOmVS'></ins><ul id='pOmVS'></ul><sub id='pOmVS'></sub></form><legend id='pOmVS'></legend><bdo id='pOmVS'><pre id='pOmVS'><center id='pOmVS'></center></pre></bdo></b><th id='pOmVS'></th></span></q></dt></tr></i><div id='pOmVS'><tfoot id='pOmVS'></tfoot><dl id='pOmVS'><fieldset id='pOmVS'></fieldset></dl></div>
                <tbody id='pOmVS'></tbody>

                  <tfoot id='pOmVS'></tfoot>

                1. 本文介绍了通过 Android 与串行 USB 设备通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个用于测量电流的定制设备.该设备可以连接到 PC 并通过 USB 完成通信.它基于FTDI芯片.我有用 Java 编写的应用程序,该应用程序正在使用 rxtxSerial.dll 库和 gnu.io.rxtx_2.1.7.4.jar.现在我想在我的安卓设备上移植这个应用程序,我有点困惑该怎么做?我只有安卓平板电脑(操作系统版本 4.1.1)、OTG 数据线和这个测量设备.

                  I have one custom made device for measuring current. This device can be connected to PC and communication is done over USB. It is based on FTDI chip. I have application written in Java and that application is using rxtxSerial.dll library and gnu.io.rxtx_2.1.7.4.jar. Now I want to port this application on my android device and I'm litte bit confused what to do that? All I have is android tablet (os version 4.1.1), OTG cable and this measuring device.

                  我的设备应该植根吗?是否有任何类型的库可以简单地添加到我的 Java Android 应用程序并通过 USB 读取数据?从哪里开始?

                  Should my device be rooted? Is there any kind of library that I can simply add to my Java Android application and read data over USB? Where to start?

                  我尝试使用相同的库为 PC 移植现有应用程序,但 rxtxSerial.dll 丢失,我无法将其传输到我的 android 设备.

                  I have tried to port existing application for PC using same library, but rxtxSerial.dll is missing and I can't transfer it to my android device.

                  推荐答案

                  我真的可以推荐USB-Serial-For-Android库,它支持多种流行的usb-to-serial芯片(也是FTDI)并且没有root必需的.查看 GitHub 项目这里.

                  I can really recommend the USB-Serial-For-Android library, it supports multiple popular usb-to-serial chips (also FTDI) and there is no rooting required. Check out the GitHub project here.

                  这篇关于通过 Android 与串行 USB 设备通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  script.sh: line 1: ./gradlew: No such file or directory on Jenkins(script.sh:第 1 行:./gradlew:Jenkins 上没有这样的文件或目录)
                  Arduino: using Serial and Software Serial with bluetooth module(Arduino:使用带有蓝牙模块的串口和软件串口)
                  Access native serial port on Android(在Android上访问本机串口)
                  Android: USB Communication Android lt;-gt; External Device(Android:USB通信Androidlt;-gt;外接设备)
                  Sending commands from a PC to an Android phone - via physical connection (USB, Serial, etc)(从 PC 向 Android 手机发送命令 - 通过物理连接(USB、串行等))
                  Android: RS232 Serial Communication with android device(Android:与安卓设备的RS232串行通信)
                    <tbody id='jJmtn'></tbody>
                    <bdo id='jJmtn'></bdo><ul id='jJmtn'></ul>

                      <i id='jJmtn'><tr id='jJmtn'><dt id='jJmtn'><q id='jJmtn'><span id='jJmtn'><b id='jJmtn'><form id='jJmtn'><ins id='jJmtn'></ins><ul id='jJmtn'></ul><sub id='jJmtn'></sub></form><legend id='jJmtn'></legend><bdo id='jJmtn'><pre id='jJmtn'><center id='jJmtn'></center></pre></bdo></b><th id='jJmtn'></th></span></q></dt></tr></i><div id='jJmtn'><tfoot id='jJmtn'></tfoot><dl id='jJmtn'><fieldset id='jJmtn'></fieldset></dl></div>

                        • <small id='jJmtn'></small><noframes id='jJmtn'>

                          <tfoot id='jJmtn'></tfoot>
                            <legend id='jJmtn'><style id='jJmtn'><dir id='jJmtn'><q id='jJmtn'></q></dir></style></legend>