Iso14b.Attrib
Select the PICC with given PUPI serial number for further communication. The desired PICC must have been reported by the Iso14b.Request command before.
The parameters given in the Param bit mask have to match both the supported communication parameters of the reader and of the current PICC, according to the ProtInfo bit mask returned by the Iso14b.Request command. These parameters will be applied for all ISO 14443-4 APDUs that will be exchanged via the Iso14L4.ExchangeAPDU command.
Furthermore, a unique communication channel ID (CID) has to be assigned, which identifies the PICC and which will also be needed by the ISO 14443-4 commands.
Normally, there may be up to 14 PICCs in active state at the same time and each PICC will be uniquely identified by its CID. However, there are exist PICCs which do no support being assigned a CID. Only one of these PICCs may be in active state at the same time (along with other PICCs supporting the CID feature). The same restriction also holds for PICCs which are assigned a CID of 0x00 with this command.
Properties
- Command code: 0x1403
- Command timeout: 100 ms
- Possible status codes: General status codes, Iso14b.ErrNoTag , Iso14b.ErrCollision , Iso14b.ErrHf, Iso14b.ErrCom
Parameters (request frame)
Name | Type/Size | Description | ||
---|---|---|---|---|
PUPI | Raw data (length 4 Bytes) | Pseudo-Unique PICC Identifier (PUPI), serial number of targeted PICC. | ||
- | Bit mask (24 bits) | - | ||
TR0 | Enumeration (bit mask area 0xC00000) |
PICC's minimum delay before responding after the
end of a command sent by PCD. The values introduced
in this parameter need to be divided by the ISO
14443 subcarrier frequency (abbreviated as fs
). Values:
|
||
TR1 | Enumeration (bit mask area 0x300000) |
Minimum delay between subcarrier modulation start
and beginning of data transmission. The values
introduced in this parameter need to be divided by
the ISO 14443 subcarrier frequency (abbreviated as
fs ). Values:
|
||
EOF | Enumeration (bit 0x080000) |
End Of Frame (EOF) flag for sending data
to reader. Values:
|
||
SOF | Enumeration (bit 0x040000) |
Start Of Frame (SOF) flag for sending data
to reader. Values:
|
||
RFU | Integer (bit mask area 0x030000) |
Zero padding |
||
DSI | Enumeration (bit mask area 0x00C000) |
Divisor Send/Receive Integer (DSI/DRI) This parameter is mapped to the Divisor Send/Receive (DS/DI) value, which determines bit rate for sending data from PICC to PCD. The possible DS/DR values (mapped to the DSI/DRI index) are listed below. Values:
|
||
DRI | Enumeration (bit mask area 0x003000) |
Divisor Send/Receive Integer (DSI/DRI) This parameter is mapped to the Divisor Send/Receive (DS/DI) value, which determines bit rate for sending data from PICC to PCD. The possible DS/DR values (mapped to the DSI/DRI index) are listed below. Values:
|
||
FSDI | Enumeration (bit mask area 0x000F00) |
Frame Size proximity coupling Device Integer (FSDI) value. This value is mapped to the Frame Size proximity coupling Device (FSD) value, which indicates the maximum frame size accepted by the PCD. The current Baltech reader supports FSD of at least up to 64 bytes (FSDI=0x05). It is not recommended to use a smaller FSDI. Future versions of the Baltech reader might support higher FSDI values. Values:
|
||
RFU | Integer (bit mask area 0x0000F0) |
Zero padding |
||
ProtocolType | Integer (bit mask area 0x00000F) |
Protocol Type supported by the PICC. Possible values:
|
||
CID | Integer (8 bits) |
Channel ID (CID) which should be assigned to this PICC. Possible values:
|
||
- | Bit mask (8 bits) | - | ||
RFU | Integer (bit mask area 0xF8) |
Zero padding |
||
EnHLR | Boolean (bit 0x04) | If this flag is set, the High Layer Response (HLR) variable will be returned by this command. | ||
EnMBLI | Boolean (bit 0x02) | If this flag is set, the Maximum Buffer Length Index (MBLI) variable will be returned by this command. | ||
EnCID | Boolean (bit 0x01) | If this flag is set, the CID of the PICC will be returned by this command. |
Returned values (response frame)
Name | Type/Size | Description | |
---|---|---|---|
Optional field, condition: EnCID | |||
AssignedCID | Integer (8 bits) |
Channel ID (CID) which has been assigned to the PICC. If the PICC does not support the feature of being assigned a CID, 0x00 will be returned instead. Possible values:
|
|
Optional field, condition: EnMBLI | |||
MBLI | Integer (8 bits) |
Maximum Buffer Length Index (MBLI) of PICC. This value is necessary to compute the Maximum Buffer Length (MBL) value, describing the length of the PICC's internal buffer to receive chained frames. MBL is computed using MBLI using the following formula: MBL = FSC * 2 ^ (MBLI-1) The FSC variable is determined by the FSCI value returned by the Iso14b.Request command. The amount of data transferred with one call of the Iso14L4.ExchangeAPDU command should never exceed MBL. Possible values:
|
|
Optional field, condition: EnHLR | |||
Length of HLR | Integer (8 bits) |
Length of HLR in bytes |
|
HLR | Raw data |
Higher Layer Response (HLR) or PICC. The HLR is not available from PICCs fully compliant to the ISO 14443-3 standard. |