USB OTG HNP and SRP Problem in STM32xxx
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