7 Replies Latest reply on Sep 17, 2018 12:38 AM by yumingfoy_3247926

    CYApi  AltIntfcCount()

    yumingfoy_3247926

      I don't unstand the API method of AltIntfcCount();

      The explain is:

      This function returns the number of alternate interfaces exposed by the device.

       

      The primary interface (AltSetting == 0) is not counted as an alternate interface.

       

      IN the descriptor it has a interface

       

      1.png

       

       

      but in the bulkloop application ,why it  +1;,the result is 1

      int interfaces = this->m_selectedUSBDevice->AltIntfcCount()+1;   

      2.png