75 void SetDataInterfaceL(TUint& aDataEpBufferSize); |
75 void SetDataInterfaceL(TUint& aDataEpBufferSize); |
76 /** |
76 /** |
77 * Setup NCM class specific descriptors |
77 * Setup NCM class specific descriptors |
78 * @param aDataInterfaceNumber, NCM data interface number |
78 * @param aDataInterfaceNumber, NCM data interface number |
79 */ |
79 */ |
80 TInt SetupClassSpecificDescriptor(TUint8 aDataInterfaceNumber); |
80 TInt SetupClassSpecificDescriptor(TUint8 aControlInterfaceNumber, TUint8 aDataInterfaceNumber); |
81 /** |
81 /** |
82 * Set NCM interface MAC address into NCM class specific descriptor |
82 * Set NCM interface MAC address into NCM class specific descriptor |
83 * @param[out] aStrIndex, the index of string which contains NCM |
83 * @param [out] aStrIndex, the index of string which contains NCM |
84 * interface MAC address |
84 * interface MAC address |
85 */ |
85 */ |
86 TInt SetMacAddressString(TUint8& aStrIndex); |
86 TInt SetMacAddressString(TUint8& aStrIndex); |
|
87 |
87 /** |
88 /** |
88 * Get NCM data interface number |
89 * Get interface number |
89 * @param[out] aInterfaceNumber, NCM data interface number |
90 * @param aLdd The logic device driver which can be used to query for. |
|
91 * @param aSettingsNumber The alter settings for the interface |
|
92 * @param [out] aInterfaceNumber Carry out the interface bumber back to caller. |
|
93 * @return KErrNone If interface number is return via aInterfaceNumber. |
|
94 * Other system wide error code if anything went wrong. |
90 */ |
95 */ |
91 TInt DataInterfaceNumber(TUint8& aInterfaceNumber); |
96 TInt InterfaceNumber(RDevUsbcScClient& aLdd,TInt aSettingsNumber,TUint8& aInterfaceNumber); |
92 |
97 |
93 private: |
98 private: |
94 const TNcmMacAddress& iHostMacAddress; |
99 const TNcmMacAddress& iHostMacAddress; |
95 |
100 |
96 TBool iCommLddInitiated; |
101 TBool iCommLddInitiated; |