- Forum posts: 3
Feb 12, 2018, 7:46:28 AM via Website
Feb 12, 2018 7:46:28 AM via Website
I am Nikhil. I am an Embedded system developer. I want to interface my device with an android phone via usb. Android phone should be in host mode and my device should be in client mode. When connecting using normal data cable, my device is not detected. But when I use an OTG cable, my device is detected. In normal data cable pin 4 & 5 of micro B type is opened and in OTG cable its shorted(for changing to host mode).
My Question is, by using an android app is it possible to change to host mode without monitoring pin 4 of micro B USB and without using OTG cable?. That is, when my device is connected no need to detect it. When I opened my app the phone should changed to host mode and then communicates with my device. Is it possible???.