AnsweredAssumed Answered

What is difference between role switch procedures ?

Question asked by Amit Kulkarni on Jul 1, 2020
Latest reply on Jul 3, 2020 by Amit Kulkarni

We were exploring role switch for imx8qm-Android9-Auto. 

I came to know that role switch can be possible by changing right role (host | gadget) in 

/sys/bus/platform/devices/ci_hdrc.0/role
During testing we could see that roles are getting changed and based on the roles it was enumerating Iphone. 
This is one case. But during my exploration i also found chipidea document which also explains role switching using HNP and SRP protocols. We tried this but it doesn't works after step 2. 
I wanted to understand the difference between the 2 procedures. Could you please throw some light here ??

Outcomes