Last active
August 17, 2021 05:03
-
-
Save zhangyoufu/7bf4f58d7602ada48055bd6e8a6c28e4 to your computer and use it in GitHub Desktop.
extracted from ZKTeco xFace500/M FW Ver 6.60 SDK Ver 6.3.1.40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum ZK_CMD | |
{ | |
CMD_DB_RRQ = 0x7, | |
CMD_USER_WRQ = 0x8, | |
CMD_USERTEMP_RRQ = 0x9, | |
CMD_USERTEMP_WRQ = 0xA, | |
CMD_OPTIONS_RRQ = 0xB, | |
CMD_OPTIONS_WRQ = 0xC, | |
CMD_ATTLOG_RRQ = 0xD, | |
CMD_CLEAR_DATA = 0xE, | |
CMD_CLEAR_ATTLOG = 0xF, | |
CMD_APPEND_USER = 0x10, | |
CMD_APPEND_USERTEMP = 0x11, | |
CMD_DELETE_USER = 0x12, | |
CMD_DELETE_USERTEMP = 0x13, | |
CMD_CLEAR_ADMIN = 0x14, | |
CMD_USERGRP_RRQ = 0x15, | |
CMD_USERGRP_WRQ = 0x16, | |
CMD_USERTZ_RRQ = 0x17, | |
CMD_USERTZ_WRQ = 0x18, | |
CMD_GRPTZ_RRQ = 0x19, | |
CMD_GRPTZ_WRQ = 0x1A, | |
CMD_TZ_RRQ = 0x1B, | |
CMD_TZ_WRQ = 0x1C, | |
CMD_ULG_RRQ = 0x1D, | |
CMD_ULG_WRQ = 0x1E, | |
CMD_UNLOCK = 0x1F, | |
CMD_CLEAR_ACC = 0x20, | |
CMD_CLEAR_OPLOG = 0x21, | |
CMD_OPLOG_RRQ = 0x22, | |
CMD_RULE_RRQ = 0x23, | |
CMD_DEPT_RRQ = 0x24, | |
CMD_SCH_RRQ = 0x25, | |
CMD_TEMPDB_CLEAR = 0x30, | |
CMD_TEMPDB_ADD = 0x31, | |
CMD_GET_FREE_SIZES = 0x32, | |
CMD_GET_DATA_LAYOUT = 0x33, | |
CMD_UPDATE_USERS = 0x34, | |
CMD_UPDATE_TEMP = 0x35, | |
CMD_USER_RRQ = 0x36, | |
CMD_FREEID_RRQ = 0x37, | |
CMD_SENSOROPT_WRQ = 0x38, | |
CMD_ENABLE_CLOCK = 0x39, | |
CMD_SENSOROPT_RRQ = 0x3A, | |
CMD_STARTVERIFY = 0x3C, | |
CMD_STARTENROLL = 0x3D, | |
CMD_CANCELCAPTURE = 0x3E, | |
CMD_TRANSSTATE = 0x3F, | |
CMD_STATE_RRQ = 0x40, | |
CMD_LASTTEMP_RRQ = 0x41, | |
CMD_WRITE_LCD = 0x42, | |
CMD_CLEAR_LCD = 0x43, | |
CMD_LCDSIZE_RRQ = 0x44, | |
CMD_GET_PINWIDTH = 0x45, | |
CMD_SMS_WRQ = 0x46, | |
CMD_SMS_RRQ = 0x47, | |
CMD_DELETE_SMS = 0x48, | |
CMD_UDATA_WRQ = 0x49, | |
CMD_DELETE_UDATA = 0x4A, | |
CMD_GET_IOSTATUS = 0x4B, | |
CMD_WRITE_MIFARE = 0x4C, | |
CMD_READ_MIFARE = 0x4D, | |
CMD_EMPTY_MIFARE = 0x4E, | |
CMD_EXTUSER_WRQ = 0x4F, | |
CMD_EXTUSER_RRQ = 0x50, | |
CMD_DELETE_EXTUSER = 0x51, | |
CMD_WorkCode_WRQ = 0x52, | |
CMD_WorkCode_RRQ = 0x53, | |
CMD_DELETE_WorkCode = 0x54, | |
CMD_STKEY_WRQ = 0x55, | |
CMD_STKEY_RRQ = 0x56, | |
CMD_USERTEMP_EX_WRQ = 0x57, | |
CMD_USERTEMP_EX_RRQ = 0x58, | |
CMD_RTLOG_RRQ = 0x5A, | |
CMD_SSRHTZ_RRQ = 0x5B, | |
CMD_SSRHTZ_WRQ = 0x5C, | |
CMD_UPDATE_FIREWARE = 0x6E, | |
CMD_QUERY_FIRWARE = 0x6F, | |
CMD_CPU_REG = 0x70, | |
CMD_CMOS_GAIN = 0x71, | |
CMD_UADATA_RRQ = 0x72, | |
CMD_UADATA_WRQ = 0x73, | |
CMD_APPEND_INFO = 0x74, | |
CMD_USER_INFO = 0x75, | |
CMD_MTHRESHOLD = 0x76, | |
CMD_HASH_DATA = 0x77, | |
CMD_READ_NEW = 0x78, | |
CMD_UPDATE_READALL = 0x79, | |
CMD_SSRUSERTEMP_WRQ = 0x84, | |
CMD_SSRDELETE_USER = 0x85, | |
CMD_SSRDELETE_USERTEMP = 0x86, | |
CMD_UPDATEFROMUDISK = 0x87, | |
CMD_USERFACE_RRQ = 0x96, | |
CMD_USERFACE_WRQ = 0x97, | |
CMD_DELETE_USERFACE = 0x98, | |
CMD_APPEND_USERFACE = 0x99, | |
CMD_USERFV_RRQ = 0xA0, | |
CMD_USERFV_WRQ = 0xA1, | |
CMD_DELETE_USERFV = 0xA2, | |
CMD_GET_TIME = 0xC9, | |
CMD_SET_TIME = 0xCA, | |
CMD_GET_COUNT = 0xCB, | |
CMD_REG_EVENT = 0x1F4, | |
CMD_OPTIONS_RRQ_EXTEND = 0x1F5, | |
CMD_CONNECT = 0x3E8, | |
CMD_EXIT = 0x3E9, | |
CMD_ENABLEDEVICE = 0x3EA, | |
CMD_DISABLEDEVICE = 0x3EB, | |
CMD_RESTART = 0x3EC, | |
CMD_POWEROFF = 0x3ED, | |
CMD_SLEEP = 0x3EE, | |
CMD_RESUME = 0x3EF, | |
CMD_AUXCOMMAND = 0x3F0, | |
CMD_CAPTUREFINGER = 0x3F1, | |
CMD_ENROLL = 0x3F2, | |
CMD_TEST_TEMP = 0x3F3, | |
CMD_CAPTUREIMAGE = 0x3F4, | |
CMD_REFRESHDATA = 0x3F5, | |
CMD_REFRESHOPTION = 0x3F6, | |
CMD_CALC_FINGER = 0x3F7, | |
CMD_RUN_PRG = 0x3F8, | |
CMD_TESTVOICE = 0x3F9, | |
CMD_GET_FLASHID = 0x3FA, | |
CMD_GET_MCU_VERSION = 0x3FB, | |
CMD_MCU_COMMAND = 0x3FC, | |
CMD_SETFPDIRECT = 0x3FD, | |
CMD_GET_VERSION = 0x44C, | |
CMD_CHANGE_SPEED = 0x44D, | |
CMD_AUTH = 0x44E, | |
CMD_ALARM_TRIGER = 0x450, | |
CMD_WIEGAND = 0x451, | |
CMD_SERURITY_KEY_RRQ = 0x4B0, | |
CMD_SERURITY_DATA_RRQ = 0x4B1, | |
CMD_SERURITY_KEY_WRQ = 0x4B2, | |
CMD_PREPARE_DATA = 0x5DC, | |
CMD_DATA = 0x5DD, | |
CMD_FREE_DATA = 0x5DE, | |
CMD_QUERY_DATA = 0x5DF, | |
CMD_READ_DATA = 0x5E0, | |
CMD_UPDATEFILE = 0x6A4, | |
CMD_READFILE = 0x6A6, | |
CMD_CHECKUDISKUPDATEPACKPAGE = 0x6AD, | |
CMD_OPTIONS_DECIPHERING = 0x6AE, | |
CMD_OPTIONS_ENCRYPT = 0x6AF, | |
CMD_ACK_OK = 0x7D0, | |
CMD_ACK_ERROR = 0x7D1, | |
CMD_ACK_DATA = 0x7D2, | |
CMD_ACK_RETRY = 0x7D3, | |
CMD_ACK_REPEAT = 0x7D4, | |
CMD_ACK_UNAUTH = 0x7D5, | |
CMD_ACK_DEVBUSY = 0x7D7, | |
CMD_GET_PHOTO_COUNT = 0x7DD, | |
CMD_GET_PHOTO_BYNAME = 0x7DE, | |
CMD_CLEAR_PHOTO_BY_TIME = 0x7DF, | |
CMD_GET_PHOTONAMES_BY_TIME = 0x7E0, | |
CMD_QUERY_DEVICE_STATUS = 0xBB6, | |
CMD_SET_MAKER_OPTION = 0xBB7, | |
CMD_SET_DATA = 0xBB9, | |
CMD_APP_QUERY_TOKEN = 0xBBB, | |
CMD_APP_SET_TOKEN = 0xBBC, | |
CMD_APP_PULL_PERSONAL_REPORTS = 0xBBE, | |
CMD_APP_PULL_COMPANY_REPORTS = 0xBBF, | |
CMD_APP_PULL_ATT_RECORDS = 0xBC0, | |
CMD_APP_GENERATE_STANDARD_REPORT_TABLES = 0xBC1, | |
CMD_APP_GENERATE_SETTING_REPORT_TABLES = 0xBC2, | |
CMD_APP_SET_DEPARTS = 0xBC4, | |
CMD_APP_SET_SCHES = 0xBC5, | |
CMD_APP_SET_DEPARTS_SCHES = 0xBC6, | |
CMD_APP_GET_DEPTS = 0xBC7, | |
CMD_APP_GET_SCHE = 0xBC8, | |
CMD_APP_GET_DEPTS_SCHES = 0xBC9, | |
CMD_APP_GET_PER_SCHES = 0xBCA, | |
CMD_APP_SET_PER_SCHES = 0xBCB, | |
CMD_APP_REMOVE_TOKEN = 0xBCD, | |
CMD_GET_INNER_VERSION = 0xBF6, | |
CMD_GET_TABLE_STRUCT = 0x2710, | |
CMD_SET_PULL_DATA = 0x2711, | |
CMD_GET_PULL_DATA = 0x2712, | |
CMD_DELETE_DATA = 0x2713, | |
CMD_TIME_ATTLOG_RRQ = 0x2714, | |
CMD_TIME_ATTLOG_DELE = 0x2715, | |
CMD_TIMEPOINT_ATTLOG_DELE = 0x2716, | |
CMD_NEW_ATTLOG_RRQ = 0x2717, | |
CMD_NEW_TIME_WRQ = 0x2718, | |
CMD_UPLOAD_USERPHOTO = 0x2719, | |
CMD_DOWNLOAD_USERPHOTO = 0x271A, | |
CMD_DELETE_USERPHOTO = 0x271B, | |
CMD_GET_ALLUSERPHOTO = 0x271C, | |
CMD_GET_ALLUSERPHOTO_LIST = 0x271D, | |
CMD_GET_DAYBELLCNT = 0x271E, | |
CMD_GET_BELLSETTING = 0x271F, | |
CMD_SET_BELLSETTING = 0x2720, | |
CMD_BELL_RRQ = 0x2721, | |
CMD_GET_BELLMAXID = 0x2722, | |
CMD_GET_FIRMWAREVER = 0x2723, | |
CMD_GET_USERVALIDDATE = 0x2724, | |
CMD_SET_USERVALIDDATE = 0x2725, | |
CMD_WorkCodeEx_WRQ = 0x2726, | |
CMD_WorkCodeEx_RRQ = 0x2727, | |
CMD_DELETE_WorkCodeEx = 0x2728, | |
CMD_WorkCodeExByID_RRQ = 0x2729, | |
CMD_UPLOAD_THEME = 0x272A, | |
CMD_UPLOAD_PICTURE = 0x272B, | |
CMD_DELETE_PICTURE = 0x272C, | |
CMD_DOWNLOAD_PICTURE = 0x272D, | |
CMD_TURNOFFALARM = 0x272E, | |
CMD_GET_USERVERIFY = 0x272F, | |
CMD_SET_USERVERIFY = 0x2730, | |
CMD_GET_DATA_COUNT = 0x2731, | |
CMD_TURNOFF_DISASSEMBLE_ALARM = 0x2732, | |
CMD_WORKCODE_EXIST = 0x2733, | |
CMD_BIGDATA_INFO = 0x2746, | |
CMD_BIG_DATA = 0x2747, | |
CMD_BIGDATA_WRQ = 0x2748, | |
CMD_GET_USERFACEPHOTO_COUNT = 0x2749, | |
CMD_GET_USERFACEPHOTO_NAMES = 0x274A, | |
CMD_GET_USERFACEPHOTO_BYNAME = 0x274B, | |
CMD_GET_THERMALIMAGE = 0x274D, | |
CMD_ACK_UNKNOWN = 0xFFFF, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment