Reference Manual
Prox–DU & Prox–SU
www.gemalto.com
DOC118569D Public Use Page 85/145
x = 2 : Card not present
For the contactless interface:
An ICC is present and active when a contactless card was detected and a
PC_to_RDR_PowerOn command was processed without error.
An ICC is Present and inactive when contactless card was detected and no
PC_to_RDR_PowerOn was processed or processed with error or the ICC was shut down by
a PC_to_RDR_PowerOff command or after an error.
For the contact smart card interface:
An ICC is present and active when a card is inserted and powered (the
PC_to_RDR_PowerOn command was processed without error).
An ICC is Present and inactive when card is inserted and not powered (the
PC_to_RDR_PowerOn was processed or processed with error or the ICC was shut down by
a PC_to_RDR_PowerOff command or after an error).
Interrupt in messages for the contact card interface
The Interrupt-In endpoint is used to notify the host of events that may occur asynchronously
and outside the context of a command-response exchange between host and CCID. If the
host has sent a Bulk-Out message and is waiting for a Bulk-In message in response, and
one of these events occurs, then the Bulk-In message may heave duplicate information
related to the event.
Only the RDR_to_PC_NotifySlotChange message is implemented.
The RDR_to_PC_HardwareError message is not implemented.
RDR_to_PC_NotifySlotChange
This message is sent whenever the CCID device detects a change in the insertion status of
an ICC slot. If an ICC is either inserted or removed from a slot, this message must be sent.
The presence of this message means to the host driver that a change has occurred. It is
possible for more than one change to occur between deliveries of
RDR_to_PC_NotifySlotChange messages.
When the USB bus is resumed from a suspended state, both the CCID and the host driver
must make identical assumptions about the state of the ICC slots. For simplicity, the
specification requires that both CCID and host driver shall presume that all slots are empty.
Therefore, after resumption from suspend, the CCID shall report all occupied ICC slots
using this message.
Offset Field Size Value
0 bMessageType 1 50h
1 bSlotICCState This field is reported on byte granularity.
The size is (2 bits * number of slots)
rounded up to the nearest byte.
Each slot has 2 bits. The least significant bit
reports the current state of the slot (0b = no
ICC present, 1b = ICC present). The most
significant bit reports whether the slot has
changed state since the last
RDR_to_PC_NotifySlotChange message
was sent (0b = no change, 1b = change).
If no slot exists for a given location, the field
returns 00b in those 2 bits.
Example: A 3 slot CCID reports a single
byte with the following format: