usb-hostcontroller

Android: RS232 Serial Communication with android device

折月煮酒 提交于 2019-12-03 13:54:47
问题 I have a MR400s taximeter hardware. I want to communicate with this taximeter using RS232 cable and I have already achieved this connection and communication in windows. But I wanted to make connection using android device. How can I achieve this? Thanks Ishan jain 回答1: I use the USB to serial library, you can find it here: USB Serial for Android. It doesn't require any root access. You'll need to check if your Android device supports USB host mode. Then, using a usb OTG cable and a USB to

Android: RS232 Serial Communication with android device

不问归期 提交于 2019-12-03 03:50:03
I have a MR400s taximeter hardware. I want to communicate with this taximeter using RS232 cable and I have already achieved this connection and communication in windows. But I wanted to make connection using android device. How can I achieve this? Thanks Ishan jain I use the USB to serial library, you can find it here: USB Serial for Android. It doesn't require any root access. You'll need to check if your Android device supports USB host mode. Then, using a usb OTG cable and a USB to serial adapter cable you can start communicating with your serial device via RS232. There are code examples to