AnsweredAssumed Answered

USB device vs USB OTG for android USB communication

Question asked by Hicham Chaabane on Dec 18, 2017



I'm working on a project where I have to exchange small data with an android phone with an electronic board using USB communication and charge it in the same time.

I have only used USB CDC class  to connect with a PC and now I find it a little bit confusing with google Android Open Accessory (AOA). My questions are :

1- Does ST USB library support AOA class ? 

2- From what I understand when connecting to an android device, the device will act as a client ? is that the case with all the classes ?

3- Do all the classes allow charging the phone while communication with it ?


any help are very appreciated !


Thank you