APG8201-B2
– Reference Manual
Version 1.00
www.acs.com.hk
Page 29 of 48
www.acs.com
.hk
7.2.5.
RDR_to_PC_NotifySlotChange
This message is sent whenever the APG8201-B2 detects a change in the insertion status of an ICC
slot.
Offset
Field
Size
Value
Description
0
bMessageType
1
50h
-
1
bmSlotICCState
-
-
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:
Bit 0 = Slot 0 current state
Bit 1 = Slot 0 changed status
Bit 2 = Slot 1 current state
Bit 3 = Slot 1 changed status
Bit 4 = Slot 2 current state
Bit 5 = Slot 2 changed status
Bit 6 = 0b
Bit 7 = 0b
7.2.6.
RDR_to_PC_HardwareError
This message is sent when any bit in the
bHardwareErrorCod
e field is set.
Offset
Field
Size
Value
Description
0
bMessageType
1
51h
-
1
bSlot
1
00-FFh
ICC slot number
2
bSeq
1
00-FFh
Sequence number of bulk out
command when the hardware error
occurred
3
bHardwareErrorCode
1
XYh
The value is a bitwise OR operation
performed on the following values:
01h = Overcurrent
Further error conditions and values
to be defined
For the details of operation flow, please refer to CCID Specification.