uFCoder 2.58
Loading...
Searching...
No Matches
Information about the reader

Functions

UFR_STATUS DL_API GetReaderType (IN uint32_t *lpulReaderType)
 
UFR_STATUS DL_API GetReaderSerialNumber (IN uint32_t *lpulSerialNumber)
 
UFR_STATUS DL_API ReaderStillConnected (VAR uint32_t *connected)
 
UFR_STATUS DL_API GetReaderHardwareVersion (VAR uint8_t *version_major, VAR uint8_t *version_minor)
 
UFR_STATUS DL_API GetReaderFirmwareVersion (VAR uint8_t *version_major, VAR uint8_t *version_minor)
 
UFR_STATUS DL_API GetReaderSerialDescription (OUT uint8_t pSerialDescription[8])
 
UFR_STATUS DL_API GetBuildNumber (VAR uint8_t *build)
 
c_string DL_API GetReaderDescription (void)
 

Detailed Description

Function Documentation

◆ GetReaderType()

UFR_STATUS DL_API GetReaderType ( IN uint32_t * lpulReaderType)

Returns reader type as a pointer to 4 byte value.

Parameters
lpulReaderTypepointer 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.
Returns
Operation status

◆ GetReaderSerialNumber()

UFR_STATUS DL_API GetReaderSerialNumber ( IN uint32_t * lpulSerialNumber)

Returns reader serial number as a pointer to 4 byte value.

Parameters
lpulSerialNumberpointer to lpulSerialNumber variable. “lpulSerialNumber “ as result holds 4 byte serial number value.
Returns
Operation status

◆ ReaderStillConnected()

UFR_STATUS DL_API ReaderStillConnected ( VAR uint32_t * connected)

Retrieve info if reader is still connected to host.

Parameters
connectedpointer 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.
Returns
Operation status

◆ GetReaderHardwareVersion()

UFR_STATUS DL_API GetReaderHardwareVersion ( VAR uint8_t * version_major,
VAR uint8_t * version_minor )

Returns reader hardware version as two byte representation of higher and lower byte.

Parameters
version_majorpointer to version major variable
version_minorpointer to version minor variable
Returns
Operation status

◆ GetReaderFirmwareVersion()

UFR_STATUS DL_API GetReaderFirmwareVersion ( VAR uint8_t * version_major,
VAR uint8_t * version_minor )

Returns reader firmware version as two byte representation of higher and lower byte.

Parameters
version_majorpointer to version major variable
version_minorpointer to version minor variable
Returns
Operation status

◆ GetReaderSerialDescription()

UFR_STATUS DL_API GetReaderSerialDescription ( OUT uint8_t pSerialDescription[8])

Returns reader’s descriptive name as a row of 8 chars.

Parameters
pSerialDescriptionpointer to pSerialDescription array
Returns
Operation status

◆ GetBuildNumber()

UFR_STATUS DL_API GetBuildNumber ( VAR uint8_t * build)

Returns reader firmware build version as one byte representation.

Parameters
buildpointer to build variable
Returns
Operation status

◆ GetReaderDescription()

c_string DL_API GetReaderDescription ( void )

This function returns the reader's descriptive name. Return type is string. No parameters required.

Returns
The reader's descriptive name