Elatec GmbH
Page 44 of 65
7.5.8 Key Management
7.5.8.1 Write Mifare
® Classic Key ‘wm’
Use this command to store a Mifare® Classic authentication key into the EEPROM of the reader. The
reader is able to store up 32 keys. The key locations are write-
only, so the keys can‟t be read back.
Each key is 6 bytes long and is stored redundantly to increase data integrity.
Command:
‘wm[KeyNumber][Key]’
Answer
Answer
Description
Key<CR><LF>
Written key
Example
Command
Description
wm1A1234567890AB
Writes key
1234567890AB
to location 1Ah
7.5.8.2
Write AES / Triple DES Key ‘wd’
Use this command to store a 16-Byte Triple-DES authentication key into the EEPROM of the reader.
The reader is able to store up to 16 keys. The key locations are write-
only, so the keys can‟t be read
back.
Command:
‘wd[KeyNumber][Key]’
Answer
Answer
Description
Key<CR><LF>
Written key
‘F<CR><LF>’
Error: Writing of key failed
‘R<CR><LF>’
Error: Key number out of range
Example
Command
Description
wd0B000102030405060708090A0B0C0D0E0F
Writes Triple-DES key
000102030405060708090A0B0C0D0E0F
to
location 0Bh