A support android phone system, generally only one with usb data cable, how to achieve it with the serial communication devices, such as microcontrollers,
through the windows usb to serial port, you can just write a serial program, application protocol on it. Phone can
install usb to serial driver do? There is a sub-usb master and slave, usually on the phone usb interface is a slave, right? Has done a friend to talk!
------ Solution ------------------------------------ --------
phone tops the U-turn driving non-pc tops string U-turn string driver
------ Solution --------- -----------------------------------
reinstall it
------ Solution --------------------------------------------
first USB is divided into masters and slaves, and if you are a USB OTG, then it can be converted to the host, make your phone as the original PC role, in theory, can be installed on the phone usb to serial driver, but in an integrated When integrated into linux to go, otherwise you can not install under normal circumstances. Landlord this idea a little less realistic, because the phone is little support USB otg, the phone needs to act as host to the slave output current, this is not a suitable portable devices
------ Solution ----- ---------------------------------------
Top about
--- --- Solution --------------------------------------------
4 floor that right is not realistic. General phone during the development phase, it will take a few lines from the motherboard as serial debugging and finished on the demolition. You can really do that? First need to phone supports usbhost, second, android version usb to serial driver may have to develop their own (Linux may have a ready)
------ Solution ---------- ----------------------------------
you can consider using TCP / IP-COM the mouth of the device, so that it becomes SOCKET programming,
------ Solution --------------------------- -----------------
to10 floor, the landlord, so to speak supplier code would be great, now you need to transplant your code on ok (Linux kernel), I believe that Linux has to provide this extension, as long as successfully transplanted into it, when you plug the device can automatically recognize connected.
I am looking for a bit in the code, it really is there: the kernel \ drivers \ usb \ serial has usb-serial.c (This is the Linux comes with usb to serial driver) .
- see here, I believe that if you put the vendor-supplied drivers on here (preferably built folders, believe that this simple drive transplant should be no problem) , successful compilation is absolutely no problem, I did before usb to ethernet, and this is very similar.
forgot to say, the premise must be supported USBhost oh.
------ Solution ------------------------------ --------------
engage usb much trouble, you can directly handle Bluetooth ......
------ Solution ----------- ---------------------------------
Bluetooth power is a very big problem, if we can power through the usb into the issue, it is very powerful.
------ Solution ---------------------------------------- ----
must be driven, and I also get android hid the newsletter, and eventually found to write drivers for the mouse, keyboard, like the HID devices, android provide only input, wood output.
USB-COM plugged into the plate, andorid simply no reaction, did not recognize.
insert a mouse, keyboard, and the like can be used to recognize, however, insert the HID output device to recognize it.
really depressed
------ Solution ---------------------------------- ----------
code.google.com above an open source project is android serial communication, through JNI mode to achieve, but you have a cell phone serial job
If you did not find me a mail (gaxuhongyu@gmail.com) I sent you
------ Solution ------------------ --------------------------
phone how have the serial ah, that is because there is no serial port, only use USB to ; COM's.
andorid inside non-PC serial port, serial port Bluetooth is the way.
In andorid Tablet PC do not support, not to mention the phone.
------ Solution ------------------------ --------------------
Android version of the USB port when the serial port GPS can use it? GPS WinCE version like that.
------ Solution ---------------------------------------- ----
ask the landlord to engage in out? Which phone supports OTG? This is the key ah
GALAXY S2 now should be to support the
kernel driver section could provide detailed steps reference ah Thank you, thank
------ Solution ------------------- -------------------------
Will the landlord, your Andrews and serial communication success yet, can not share with you, is how to achieve
------ Solution ---------------------------------------- ----
same doubts. Research ADB driver trouble, feel easy to use Bluetooth, turn on the device using Bluetooth serial module.
------ Solution ---------------------------------------- ----
come to learn about. See your answers!
------ Solution ---------------------------------------- ----
not done, come to find out
------ reference -------------------------- -------------
that zezheng it? Provide some ideas please
------ reference ----------------------------------- ----
to hmg25
Yes, ah, want to be a mobile phone-based device to monitor a software, so you can easily point back and forth without having to back a computer debugging.
android phone that is only a usb port, but also work in slave mode, and how to achieve it with the single-chip communication, as well as mobile phones have what resources it, online SerialPort program is mainly wanted to demonstrate what, I contacted the android is not too long, brother upstairs communication can leave you!
------ reference --------------------------------------- < br> .....
------ reference --------------------------------- ------
to 8lou
android usb to serial with linux under the same bar, that usb to serial chip manufacturers generally provide drivers, just do not know how to install android driver
supplied drive is a mk documents, c file, which looked under the operating serial!
------ reference --------------------------------------- < br> I did open the windows hid equipment, windows, under very simple, window mostly comes with usb hid driver, just write SCM usb part is like, and then write on the pc application, you can easily control hid device input and output. android system is not know, I have a cell phone, how can I achieve io external device input and output it? wifi? Too expensive, and then add a wifi device yourself you have programmed in the above, then get hold of a full-featured mobile phone wifi module can control a device that is superfluous. Bluetooth? This seems to be a little realistic, buy a Bluetooth module and then mount a chip can also be achieved. Looked at the android USB, what could be more reliable than the physical transmission speed connection it? On the USB, the other io are inside the machine, usb is the only cited out. It is said that you can write your own driver, and some should support dynamic loading of kernel drivers with root privileges, so we must write drive, a wood there will be, at least I will not.
------ reference --------------------------------------- < br>
Will ordinary android phones are from the USB device, wood OTG, HID also be able to do? I did hid under windows development is the use of a microcontroller with usb interface, implementation keyboard, mouse, etc. Others hid device.
------ reference ------------------------------------ ---
Will ordinary android phones are from the USB device, wood OTG, HID also be able to do? I did hid under windows development is the use of a microcontroller with usb interface, to achieve keyboard, mouse, and other hid devices.
------ reference -------------------------------- -------
done before a single-chip serial communication and project approach to build a dynamic library operation serial read and write, and then dynamically load the JNI libraries and java layer exchange of data, so as to achieve the purpose of communication, I think USB is not it also possible to do so? No prior contact with USB, take a look at again
------ reference ------------------------------ ---------
Will made out of wood with ah
ask
------ reference ---------------------------------- -----
guess you're right up on the phone, but how to install the drive it even if I have driven code how to drive it
adding phone
没有评论:
发表评论