uFCoder 2.58
|
Functions | |
UFR_STATUS DL_API | GetReaderTypeM (UFR_HANDLE hndUFR, IN uint32_t *lpulReaderType) |
UFR_STATUS DL_API | GetReaderSerialNumberM (UFR_HANDLE hndUFR, IN uint32_t *lpulSerialNumber) |
UFR_STATUS DL_API | ReaderStillConnectedM (UFR_HANDLE hndUFR, VAR uint32_t *connected) |
UFR_STATUS DL_API | GetReaderHardwareVersionM (UFR_HANDLE hndUFR, VAR uint8_t *version_major, VAR uint8_t *version_minor) |
UFR_STATUS DL_API | GetReaderFirmwareVersionM (UFR_HANDLE hndUFR, VAR uint8_t *version_major, VAR uint8_t *version_minor) |
UFR_STATUS DL_API | GetReaderSerialDescriptionM (UFR_HANDLE hndUFR, OUT uint8_t pSerialDescription[8]) |
UFR_STATUS DL_API | GetBuildNumberM (UFR_HANDLE hndUFR, VAR uint8_t *build) |
c_string DL_API | GetReaderDescriptionM (UFR_HANDLE hndUFR) |
UFR_STATUS DL_API GetReaderTypeM | ( | UFR_HANDLE | hndUFR, |
IN uint32_t * | lpulReaderType ) |
Multi reader support. Returns reader type as a pointer to 4 byte value.
hndUFR | handle of the uFR device |
lpulReaderType | pointer to lpulReaderType variable. “lpulReaderType” as result - please refer to Appendix: DLogic reader type enumeration. E.g. for µFR Nano Classic readers this value is 0xD1180022. |
UFR_STATUS DL_API GetReaderSerialNumberM | ( | UFR_HANDLE | hndUFR, |
IN uint32_t * | lpulSerialNumber ) |
Multi reader support. Returns reader serial number as a pointer to 4 byte value.
hndUFR | handle of the uFR device |
lpulSerialNumber | pointer to lpulSerialNumber variable. “lpulSerialNumber “ as result holds 4 byte serial number value. |
UFR_STATUS DL_API ReaderStillConnectedM | ( | UFR_HANDLE | hndUFR, |
VAR uint32_t * | connected ) |
Multi reader support. Retrieve info if reader is still connected to host.
hndUFR | handle of the uFR device |
connected | pointer to connected variable “connected” as result: > 0 Reader is connected on system = 0 Reader is not connected on system anymore (or closed) < 0 other error “connected” - Pointer to unsigned int type variable 32 bit long, where the information about readers availability is written. If the reader is connected on system, function store 1 (true) otherwise, on some error, store zero in that variable. |
UFR_STATUS DL_API GetReaderHardwareVersionM | ( | UFR_HANDLE | hndUFR, |
VAR uint8_t * | version_major, | ||
VAR uint8_t * | version_minor ) |
Multi reader support. Returns reader hardware version as two byte representation of higher and lower byte.
hndUFR | handle of the uFR device |
version_major | pointer to version major variable |
version_minor | pointer to version minor variable |
UFR_STATUS DL_API GetReaderFirmwareVersionM | ( | UFR_HANDLE | hndUFR, |
VAR uint8_t * | version_major, | ||
VAR uint8_t * | version_minor ) |
Multi reader support. Returns reader firmware version as two byte representation of higher and lower byte.
hndUFR | handle of the uFR device |
version_major | pointer to version major variable |
version_minor | pointer to version minor variable |
UFR_STATUS DL_API GetReaderSerialDescriptionM | ( | UFR_HANDLE | hndUFR, |
OUT uint8_t | pSerialDescription[8] ) |
Multi reader support. Returns reader’s descriptive name as a row of 8 chars.
hndUFR | handle of the uFR device |
pSerialDescription[8] | pointer to pSerialDescription array |
UFR_STATUS DL_API GetBuildNumberM | ( | UFR_HANDLE | hndUFR, |
VAR uint8_t * | build ) |
Multi reader support. Returns reader firmware build version as one byte representation.
hndUFR | handle of the uFR device |
build | pointer to build variable |
c_string DL_API GetReaderDescriptionM | ( | UFR_HANDLE | hndUFR | ) |
Multi reader support. This function returns the reader's descriptive name. Return type is string. No parameters required.
hndUFR | handle of the uFR device |