BALTECH SDK wrapper functions reference

§ brp_Mif_LoadKey()

brp_errcode brp_Mif_LoadKey ( brp_Mif_LoadKey_t  params)

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
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • KeyIdx (in) Key memory index: address in memory at which to store the key.
  • Key (in) The key itself.