Online Store

µFR Serial Communication Protocol Commands Overview

Commands are divided into several groups, based on purpose.

Device commands #

General-purpose device commands #

GET_READER_TYPE 0x10
GET_READER_SERIAL 0x11
GET_SERIAL_NUMBER 0x40
GET_HARDWARE_VERSION 0x2A
GET_FIRMWARE_VERSION 0x29
GET_BUILD_NUMBER 0x2B
READER_KEY_WRITE 0x12
USER_DATA_READ 0x1B
USER_DATA_WRITE 0x1C
READER_KEYS_LOCK 0x27
READER_KEYS_UNLOCK 0x28
READER_PASSWORD_WRITE 0x33
SELF_RESET 0x30
SET_SPEED_PERMANENTLY 0x4B
GET_SPEED_PARAMETERS 0x4C
SET_UART_SPEED 0x70
RED_LIGHT_CONTROL 0x71
USER_INTERFACE_SIGNAL 0x26
SET_RF_ANALOG_SETTINGS 0x7D
GET_RF_ANALOG_SETTINGS 0x7E
SET_LED_CONFIG 0x6E
DEFAULT_UART_SPEED_SESSION 0xF1

Card commands #

 

General-purpose related card commands #

GET_CARD_ID 0x13
 GET_CARD_ID_EX 0x2C
 GET_DLOGIC_CARD_TYPE 0x3C 
GET_LAST_CARD_ID_EX 0x7C

 

Trailer block manipulation commands #

SECTOR_TRAILER_WRITE 0x1A
SECTOR_TRAILER_WRITE_UNSAFE  0x2F

 

Block manipulation commands #

BLOCK_READ 0x16
BLOCK_WRITE 0x17
BLOCK_IN_SECTOR_READ 0x18
BLOCK_IN_SECTOR_WRITE 0x19

 

Linear data manipulation commands #

LINEAR_READ 0x14
LINEAR_WRITE 0x15
LINEAR_FORMAT_CARD 0x25
LIN_ROW_READ 0x45

 

Linear data manipulation commands #

Direct block addressing

VALUE_BLOCK_READ 0x1D
VALUE_BLOCK_WRITE 0x1E
VALUE_BLOCK_INC 0x21
VALUE_BLOCK_DEC 0x22

 

Indirect block addressing

VALUE_BLOCK_IN_SECTOR_READ 0x1F
VALUE_BLOCK_IN_SECTOR_WRITE 0x20
VALUE_BLOCK_IN_SECTOR_INC 0x23
VALUE_BLOCK_IN_SECTOR_DEC 0x24

 

Commands for DESFire cards #

GET_DESFIRE_UID 0x80
SET_DESFIRE_KEY 0x81
DESFIRE_WRITE_TO_FILE 0x82
DESFIRE_READ_FROM_FILE 0x83
DESFIRE_CREATE_APPLICATION 0x84
DESFIRE_CREATE_FILE 0x85
DESFIRE_CREATE_AES_KEY 0x86<
DESFIRE_GET_KEY_CONFIG 0x87
DESFIRE_CHANGE_KEY_CONFIG 0x88
DESFIRE_DELETE_APPLICATION 0x89
DESFIRE_DELETE_FILE 0x8A
DESFIRE_SET_CONFIGURATION 0x8B
DESFIRE_FORMAT_CARD 0x8C
DESFIRE_FREE_MEM 0x8D
DESFIRE_WRITE_AES_KEY 0x8E
DESFIRE_CREATE_VALUE_FILE 0x8F
DESFIRE_READ_VALUE_FILE 0x9A
DESFIRE_INCREASE_VALUE_FILE 0x9B
DESFIRE_DECREASE_VALUE_FILE 0x9C
DESFIRE_CREATE_RECORD_FILE 0x97
DESFIRE_WRITE_RECORD 0x98
DESFIRE_READ_RECORDS 0x99
DESFIRE_CLEAR_RECORD 0x6D
DESFIRE_GET_APPLICATION_IDS 0xC0
Scroll Up