This command writes a MIFARE Classic key to the reader's secure key memory. The reader can store 32 different keys so the key index must not exceed 31. These keys will be used for the authentication of certain sectors.


Parameters (request frame)

Name Type/Size Description
KeyIdx Integer (8 bits) Key memory index: address in memory at which to store the key.
Key Raw data (length 6 Bytes) The key itself.

Returned values (response frame)