Mif.AuthE2
This command authenticates a certain sector of a card using a key from the secure EEPROM of the Baltech reader chip.
Depending on the value of the AuthMode variable, either key A or key B of the sector specified by the Block variable will be compared to the key specified in KeyIdx.
It is only possible to authenticate one sector at a time.
Properties
- Command code: 0x1004
- Command timeout: 100 ms
- Possible status codes: General status codes, Mif.ErrNoTag, Mif.ErrBitcount, Mif.ErrBytecount, Mif.ErrAuth, Mif.ErrKey , Mif.ErrCode
Parameters (request frame)
Name | Type/Size | Description |
---|---|---|
AuthMode | Integer (8 bits) | Authentication Mode. 0x60: Key A, 0x61: Key B. |
Block | Integer (8 bits) | Block to authenticate. |
KeyIdx | Integer (8 bits) | Index of key in EEPROM which shall be used for authentication (range: 0 to 31). |
Returned values (response frame)
None