/* VDM Discovery identity callback (answer after sending a Discover Identity req message)  */
static void USBPD_VDM_InformIdentity(uint8_t PortNum, USBPD_SOPType_TypeDef SOPType, USBPD_VDM_CommandType_Typedef CommandStatus, USBPD_DiscoveryIdentity_TypeDef *pIdentity)
/* VDM Discovery identity callback (answer after sending a Discover Identity req message)  */
static void USBPD_VDM_InformIdentity(uint8_t PortNum, USBPD_SOPType_TypeDef SOPType, USBPD_VDM_CommandType_Typedef CommandStatus, USBPD_DiscoveryIdentity_TypeDef *pIdentity)
{
  switch(CommandStatus)
  {
  case SVDM_RESPONDER_ACK :
    Remote_IDHeaderVDO[PortNum].d32  = pIdentity->IDHeader.d32;
    Remote_CertStatVDO[PortNum].d32  = pIdentity->CertStatVDO.d32;
    Remote_ProductVDO[PortNum].d32   = pIdentity->ProductVDO.d32;
    {
      if (pIdentity->AMA_VDO_Presence == 1)
      {
        USBPD_PE_SVDM_RequestSVID(PortNum, USBPD_SOPTYPE_SOP);
      }
    }
    SVIDPortPartner[PortNum].NumSVIDs = 0;
    Remote_CurrentSVID[PortNum]       = 0;
    break;
  case SVDM_RESPONDER_NAK :
    break;
  case SVDM_RESPONDER_BUSY :
    break;
  default :
    break;
  }
}