Desfire.ProxCheck
This command executes a proximity check of the card
Properties
- Command code: 0x1B0C
- Command timeout: 2000 ms
- Possible status codes: General status codes, Desfire.ErrIso14NoTag, Desfire.ErrBreak, Desfire.ErrIso14Hf, Desfire.ErrIso14CardInvalid, Desfire.ErrReaderChipCommunication, Desfire.ErrIso14ApduCmd, Desfire.ErrIso14InvalidResponse, Desfire.ErrIntegrity, Desfire.ErrPcdKey, Desfire.ErrPcdParam, Desfire.VcsAndProxCheckError, Desfire.ErrFirmwareNotSupported, Desfire.ErrSamCommunication, Desfire.ErrSamUnlock, Desfire.ErrHardwareNotSupported, Desfire.ErrLength, Desfire.ErrPermissionDenied, Desfire.ErrParameter, Desfire.ErrPiccIntegrity, Desfire.ErrCommandAborted, Desfire.ErrIllegalCmd, Desfire.ErrIllegalCmdLegacy
Parameters (request frame)
Name | Type/Size | Description | |
---|---|---|---|
- | Bit mask (8 bits) | - | |
RFU | Integer (bit 0x80) |
Zero padding |
|
M | Integer (bit mask area 0x70) | Number of random bytes which are send within one procimity check round. | |
RFU | Integer (bit 0x08) |
Zero padding |
|
UseExtProxKey | Boolean (bit 0x04) |
Use (external) Proximity key given as command
parameter.
If the card is already authenticated (Card Authentication), do not activate this option. |
|
DiversifyProxKey | Boolean (bit 0x02) | Key diversification of the proximity key defined in Crypto Memory or SAM will be done according to NXP AN10922. | |
UseProxKey | Boolean (bit 0x01) |
Proximity key is defined in Crypto Memory or SAM.
If the card is already authenticated (VC Selection or Card Authentication), do not activate this option. |
|
Optional field, condition: UseProxKey | |||
ProxKeyIdx | Integer (16 bits) |
Crypto Memory Index (SAM or CryptoMemory) of proximity check key
|
|
Optional field, condition: DiversifyProxKey and UseProxKey | |||
Length of DivData | Integer (8 bits) |
Length of DivData in bytes |
|
DivData | Raw data | Key diversification according to NXP AN10922. | |
Optional field, condition: UseExtProxKey | |||
Length of ProxKey | Integer (8 bits) |
Length of ProxKey in bytes |
|
ProxKey | Raw data | Proximity check key |
Returned values (response frame)
None