2017-08-02 07:27 AM
Hello all,
In USB OTG Driver SRP request after that
USB_OTG_HandleSessionRequest_ISR
invoking.What Need to be added to inform upper layer USB_OTG_HandleSessionRequest_ISR as per HAL Library?.
if (IsDeviceMode(&otgfs_dev1) && (otg_ctl.b.bsesvld))
{ /* inform upper layer here */ /***************************// ??????????????????/
} else if (otg_ctl.b.asesvld) { /* inform upper layer here */ /***************************// ??????????????????/
}Simliar way in HNP request after that
USB_OTG_HandleConnectorIDStatusChange_ISR invoking
What Need to be added to inform upper layer?
Thanks and Regards,
Shail Shah
2017-08-06 10:53 PM
Hello all,
we need to know detail about HNP and SRP Protocol.
Where we need to call this function USB_OTG_InitiateSRP and USB_OTG_InitiateHNP in USB OTG Stack ?
Should we need to in USB_OTG_HandleSessionRequest_ISR?
Thanks and Regards,
Shail Shah