uFCoder 2.58
|
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) |
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.
hndUFR | handle of the uFR device |
aes_key_ext | pointer to array contained AES key aes_key_no reader key number of AES key (0 - 15) |
file_no | file number 0, 1, 3, 4, 15 or 31 |
key_no | current change key no |
curr_communication_mode | current communication mode 0 - plain, 1 - MACed, 3 - enciphered |
new_communication_mode | new communication mode 0 - plain, 1 - MACed, 3 - enciphered |
read_key_no | read key number (0 - 4) |
write_key_no | write key number (0 - 4) |
read_write_key_no | read write key number (0 - 4) |
change_key_no | change key number (0 - 4) |
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.
hndUFR | handle of the uFR device |
aes_key_no | reader key number of AES key (0 - 15) |
file_no | file number 0, 1, 3, 4, 15 or 31 |
key_no | current change key no |
curr_communication_mode | current communication mode 0 - plain, 1 - MACed, 3 - enciphered |
new_communication_mode | new communication mode 0 - plain, 1 - MACed, 3 - enciphered |
read_key_no | read key number (0 - 4) |
write_key_no | write key number (0 - 4) |
read_write_key_no | read write key number (0 - 4) |
change_key_no | change key number (0 - 4) |
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.
hndUFR | handle of the uFR device |
aes_key_ext | pointer to array contained AES key aes_key_no reader key number of AES key (0 - 15) |
file_no | file number 15 |
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.
hndUFR | handle of the uFR device |
aes_key_no | reader key number of AES key (0 - 15) |
file_no | file number 15 |