ACR1281U-C8 – Application Programming Interface
Version 1.00
www.acs.com.hk
Page 43 of 52
6.3. PICC_RATS
Format:
DLLAPI INT16 AC_DECL PICC_RATS (
INT16 rHandle,
UINT8 FSDI,
UINT8 *pATSlen,
UINT8 *pATS);
Function Description:
This function is only valid for ISO14443 type A cards. It requests an Answer-to-Select (ATS)
message from the card after doing the ACR120_Select( ) operation. It tells the card how many bytes
the reader can handle in a frame and also gets the operation parameters of the card when
communicating in ISO14443 mode.
Parameters
Description
rHandle
Handle to the reader returned by ACR120_Open()
FSDI
Index to a maximum frame size which the reader can
accept. The value should not exceed 4, i.e. 48 bytes.
pATSlen
Pointer to the location storing the length of the ATS
received
pATS
Pointer to the ATS received
Return Value
INT16
Result code. 0 means success.
Table 30
: PICC_RATS Command Description
FSDI
FSD (in bytes)
0
16
1
24
2
32
3
40
4
48
5
64
6
96
7
128
8
256
Otherwise
RFU
Table 31
: FSDI to (Frame Size for Proximity Coupling Device) FSD Conversion