Patent ID: 8443120

Claim:
A method for accessing multiple card slots, comprising the steps of: establishing a connection from a CCID with multiple card slots to a host, declaring at least a pair of IN/OUT endpoints used for implementing a response pipe and a command pipe as BULK-IN and BULK-OUT endpoints, declaring at least one IN endpoint used for implementing an event notification pipe as an interrupt endpoint, and declaring, by the CCID, the CCID itself as a device compliant with a CCID standard and the number of card slots supported by the CCID to the host; accessing the CCID by the host; receiving, by the CCID, a BULK-OUT packet and determining, by the CCID, a type of a CCID command issued by the host according to the BULK-OUT packet; determining whether the channel extension command is a channel switch command if the CCID command is a channel extension command, if so, parsing the channel switch command and activating a card slot the host tries to access; otherwise, performing an operation according to the type of the channel extension command; and performing an operation according to the type of the CCID command if the CCID command is not a channel extension command.