uFCoder 2.58
Loading...
Searching...
No Matches
Mifare DESFire Light specific commands

Functions

UFR_STATUS DL_API dfl_change_file_settings_pkM (UFR_HANDLE hndUFR, IN uint8_t *aes_key_ext, uint8_t file_no, uint8_t key_no, uint8_t curr_communication_mode, uint8_t new_communication_mode, uint8_t read_key_no, uint8_t write_key_no, uint8_t read_write_key_no, uint8_t change_key_no)
 
UFR_STATUS DL_API dfl_change_file_settingsM (UFR_HANDLE hndUFR, uint8_t aes_key_no, uint8_t file_no, uint8_t key_no, uint8_t curr_communication_mode, uint8_t new_communication_mode, uint8_t read_key_no, uint8_t write_key_no, uint8_t read_write_key_no, uint8_t change_key_no)
 
UFR_STATUS DL_API dfl_delete_tmc_file_pkM (UFR_HANDLE hndUFR, IN uint8_t *aes_key_ext, uint8_t file_no)
 
UFR_STATUS DL_API dfl_delete_tmc_fileM (UFR_HANDLE hndUFR, uint8_t aes_key_no, uint8_t file_no)
 

Detailed Description

Function Documentation

◆ dfl_change_file_settings_pkM()

UFR_STATUS DL_API dfl_change_file_settings_pkM ( UFR_HANDLE hndUFR,
IN uint8_t * aes_key_ext,
uint8_t file_no,
uint8_t key_no,
uint8_t curr_communication_mode,
uint8_t new_communication_mode,
uint8_t read_key_no,
uint8_t write_key_no,
uint8_t read_write_key_no,
uint8_t change_key_no )

Multi reader support. From library version 5.0.29 and firmware version 5.0.32. Desfire Light specific command. Function changes file settings.

Parameters
hndUFRhandle of the uFR device
aes_key_extpointer to array contained AES key aes_key_no reader key number of AES key (0 - 15)
file_nofile number 0, 1, 3, 4, 15 or 31
key_nocurrent change key no
curr_communication_modecurrent communication mode 0 - plain, 1 - MACed, 3 - enciphered
new_communication_modenew communication mode 0 - plain, 1 - MACed, 3 - enciphered
read_key_noread key number (0 - 4)
write_key_nowrite key number (0 - 4)
read_write_key_noread write key number (0 - 4)
change_key_nochange key number (0 - 4)
Returns
Operation status

◆ dfl_change_file_settingsM()

UFR_STATUS DL_API dfl_change_file_settingsM ( UFR_HANDLE hndUFR,
uint8_t aes_key_no,
uint8_t file_no,
uint8_t key_no,
uint8_t curr_communication_mode,
uint8_t new_communication_mode,
uint8_t read_key_no,
uint8_t write_key_no,
uint8_t read_write_key_no,
uint8_t change_key_no )

Multi reader support. From library version 5.0.29 and firmware version 5.0.32. Desfire Light specific command. Function changes file settings.

Parameters
hndUFRhandle of the uFR device
aes_key_noreader key number of AES key (0 - 15)
file_nofile number 0, 1, 3, 4, 15 or 31
key_nocurrent change key no
curr_communication_modecurrent communication mode 0 - plain, 1 - MACed, 3 - enciphered
new_communication_modenew communication mode 0 - plain, 1 - MACed, 3 - enciphered
read_key_noread key number (0 - 4)
write_key_nowrite key number (0 - 4)
read_write_key_noread write key number (0 - 4)
change_key_nochange key number (0 - 4)
Returns
Operation status

◆ dfl_delete_tmc_file_pkM()

UFR_STATUS DL_API dfl_delete_tmc_file_pkM ( UFR_HANDLE hndUFR,
IN uint8_t * aes_key_ext,
uint8_t file_no )

Multi reader support. From library version 5.0.29 and firmware version 5.0.32. Desfire Light specific command. Function delete transaction MAC file. NOTE: Transaction MAC file exist by factory default. To use the operations with value file, and cyclic record file, this file must be deleted. From library version 5.0.37 and firmware version 5.0.38, Transaction MAC operation supported for Desfire Light and Desfire EV2. To use these features, an Transaction MAC file must exist in the selected application.

Parameters
hndUFRhandle of the uFR device
aes_key_extpointer to array contained AES key aes_key_no reader key number of AES key (0 - 15)
file_nofile number 15
Returns
Operation status

◆ dfl_delete_tmc_fileM()

UFR_STATUS DL_API dfl_delete_tmc_fileM ( UFR_HANDLE hndUFR,
uint8_t aes_key_no,
uint8_t file_no )

Multi reader support. From library version 5.0.29 and firmware version 5.0.32. Desfire Light specific command. Function delete transaction MAC file. NOTE: Transaction MAC file exist by factory default. To use the operations with value file, and cyclic record file, this file must be deleted. From library version 5.0.37 and firmware version 5.0.38, Transaction MAC operation supported for Desfire Light and Desfire EV2. To use these features, an Transaction MAC file must exist in the selected application.

Parameters
hndUFRhandle of the uFR device
aes_key_noreader key number of AES key (0 - 15)
file_nofile number 15
Returns
Operation status