BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Mif_LoadKey | ( | brp_protocol | protocol, |
unsigned | KeyIdx, | ||
brp_buf | Key | ||
) |
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.
[in] | protocol | used to execute the command |
[in] | KeyIdx | Key memory index: address in memory at which to store the key. |
[in] | Key | The key itself. |