google official website has a corresponding serial assistant download something similar, but it will not. On-line to find a better day's data, some of the source code under test whether serial communications. To the final without success. Permissions are set (chmod 777 / dev / tty *), the SerialPort.c also changed fd = open (path_utf, O_RDWR | flags);. Finally, the return value when using fd are 47/49/46, and instead of -1. Is Open success. But I do not think so. After connecting to a computer via pc using the serial cable, sending data, has not been here. The most curious question than using online information source on each tablet are optional ttyS0, ttyS1, ttyS2, ttyS3, ttyS4, ttyS5, ttyS6, ttyS7, ttyGS0, ttyGS1, ttyGS2, ttyGS3 these settings It seems not what I wanted. But whether it is checked whether the tablet computer because drivers need, or that did not find / identify the driver, forcing it to find the corresponding port number. In the windows system developers are aware that corresponds pc COM1 port numbers are like. Tty to android is like. However, the use of open android using pc connection to view its system files, only to see nothing more than to tty63/ttyGS0 tty/tty1 to ttyGS3/ttyS0 to ttyS7, some users do not see the Internet like talking ttyUSB0/s3c_serial2 port number. Can not understand. Own java development serial communication fairly understood, developed a number of similar projects, but now used to develop from the android, the confusion no other.
ps:
Originally hand equipment for: Android4.0.3 domestic Tablet PC + CH340 chip usb to serial cable (only accept data, you can not transmit data) + pc can send data / hardware devices can transmit data to a PC via a serial cable flat computer.
Confused better days. Not always solve the problem, can not communicate.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Give you a look at the top, not sounded understand the underlying point
Reply:
android development of serial point-tech really ah.
Reply:
In fact, just the kernel or not to support it. Now we finally get.
Reply:
Dude, how do you solve this issue? I have encountered this problem, and do not know ah.
Reply:
Results posted hate this way!
Reply:
I also followed the instructors do such a project. With the open-source android-serial-api.
You say that is not supported on kernel support issues, and finally how would you solve?
Reply:
I say How about you, you made this post in the end what does it mean to want to express
Reply:

Reply:
http://www.2cto.com/kf/201303/195382.html can learn from this, the test interface with.
No comments:
Post a Comment