简体   繁体   中英

Communication between an android device and non android smart TV over single RS232 cable

Is there any way to make a communication between a peripheral with android OS with RS232 support and a non android smart TV with RS232 support? Basically, I have to create an app which will be installed on the android based peripheral so that when it is connected to the TV using single RS232 cable, commands could be sent from peripheral to TV.

I have not been able to proceed because I am unable to find a process for that.

From what I understand, in stock Android unless you are doing something special in NDK (C code) with specific hardware there isn't a serial connector.

Android Things has a UART but that is specific to Android Things hardware.

If you are trying to get a off-the shelf phone/tablet to connect via serial, a USB-serial dongle would probably be the quickest route. See: Communicating with serial USB device over Android

Since the microUSB connector will be occupied you can run adb over Wifi. See: Run/install/debug Android applications over Wi-Fi

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM