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

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:
  • Numerator64 (0x0)
  • Numerator48 (0x1)
  • Numerator16 (0x2)
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:
  • Numerator80 (0x0)
  • Numerator64 (0x1)
  • Numerator16 (0x2)
EOF Enumeration (bit 0x080000) End Of Frame (EOF) flag for sending data to reader.
Values:
  • EOFrequired (0)
  • EOFoptional (1)
SOF Enumeration (bit 0x040000) Start Of Frame (SOF) flag for sending data to reader.
Values:
  • SOFrequired (0)
  • SOFoptional (1)
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:
  • Kbps106 (0)
  • Kbps212 (1)
  • Kbps424 (2)
  • Kbps848 (3)
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:
  • Kbps106 (0)
  • Kbps212 (1)
  • Kbps424 (2)
  • Kbps848 (3)
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:
  • Bytes16 (0x0)
  • Bytes24 (0x1)
  • Bytes32 (0x2)
  • Bytes40 (0x3)
  • Bytes48 (0x4)
  • Bytes64 (0x5)
  • Bytes96 (0x6)
  • Bytes128 (0x7)
  • Bytes256 (0x8)
RFU Integer (bit mask area 0x0000F0) Zero padding
RFU Integer (bit mask area 0x00000F) Zero padding
CID Integer (8 bits)

Channel ID (CID) which should be assigned to this PICC. Possible values:

  • 0x00: PICC will respond also to ISO 14443-4 commands with CID disabled
  • 0x01-0x0E: valid CID value
  • 0x0F-0xFF: rfu
- 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:

  • 0x00: PICC will respond also to ISO 14443-4 commands with CID disabled
  • 0x01-0x0E: valid CID value
  • 0x0F-0xFF: rfu
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:

  • 0x00: PICC does not provide MBLI
  • 0x01-0x0F: valid MBLI value
  • 0x10-0xFF: rfu
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.