From my understanding, Torque supports serial link converted from USB(need Android 3.1 above).
Now I have connected an adapter with serial link(UART) to android directly. What the easier's way to use Torque?
If cannot apply it by setting only, should I write a program to convert this UART data to TCP/IP socket to use WIFI connection instead of Bluetooth?
Thanks for you help.
Hi
Your usb adapter uart will need to be one of the FTDI or Prolific chips (that the app can talk to) - if you use the generic vendor IDs on that chip, then the app will know it's a serial chip and will then ask to start when you plug it in to USB
Then it's a case of setting the serial chip to the correct baud rate to match the device the other side of it. (you may need to restart the app when changing the baud rate)
Hi, Ian,
I applied an adapter with UART(without usb) and I directly connected the UART to serial port of a customized Android(V2.2) board. Now can read data from the serial port with a program.
Is there a way to use Torque? Thanks.
I guess WIFI mode might work in this case.
I could transfer the serial data to a TCP or UDP socket with a program. Then configure Torque works in WIFI connection with 127.0.0.1:port.
But need to know what protocol is applied in Torque(TCP or UDP) in WIFI connection mode.
Is this a right way?
Hi
It's always TCP (so you can treat it just like a serial stream) - if you're using wifi and ad-hoc, remember that androids ad-hoc mode is reversed, compared to the iPhones adhoc clienthost modes