Download SmartLib User Guide

Transcript
CT_GIGABIT
8
CT_ATM_SIGNALING
9
CT_WAN_FRAME_RELAY
CT_MAX_CARD_TYPE
10
CT_WAN_FRAME_RELAY
A failure code, which is less than zero, is returned if the function failed.
See Appendix A.
Comments
For more detail about CA_VFDRESETCOUNT, see HT_VFD_Structure.
HTPortType
Description
Determine the card type at the specified hub/slot/port.
Syntax
int HTPortType(int iHub, int iSlot, int iPort)
Parameters
iHub
int Identifies the hub where the SmartCard is located.
The range is 0 (first hub) through N(number of hubs) -1.
Remember to subtract one since the hub identification
starts at 0.
Important: See Working with Multiple Hubs in Chapt
1.iSlot
int Identifies the slot where the card is
located. Ranges from 0 (first slot in Hub) to 19 (last
card in Hub).
iPort
Return
Value
int Identifies the card port.
The return value is one of the following if the function executed
successfully:
CT_NOT_PRESENT
0 (Card not present)
CT_ACTIVE
1
CT_FASTX
3
CT_TOKENRING
4
CT_VG
5
CT_GIGABIT
8
CT_ATM_SIGNALING
9
CT_WAN_FRAME_RELAY
CT_MAX_CARD_TYPE
10
CT_WAN_FRAME_RELAY
A failure code, which is less than zero, is returned if the function failed.
See Appendix A.
Comments
None
SmartLib User Guide
161