uFCoder 2.62
Loading...
Searching...
No Matches
Reader and library

Functions related to reader itself, to obtain some info or set certain device parameters. More...

Topics

 Communication with the reader
 Functions related to establishing, closing and changing speed of communication with the reader and more.
 
 EEPROM manipulation
 Functions related to reading/writing data in the reader EEPROM, e.g user data, keys and more.
 
 Helper library functions
 
 Information about the reader
 Functions related to getting information about the reader, e.g serial number, hardware/fimware version, reader type and more.
 
 RGB Signalization
 Functions related to RGB signalization on supported reader types. E.g uFR Zero series, uFR Classic CS, uFR Advance, uFR XL.
 
 Signalization (default)
 Functions related to interacting with the basic reader signalization.
 
 Specific firmware features for uFR Series NFC readers
 uFR Series readers specific firmware features, advanced set of different functions such as RTC, Display control, Tag emulation (dedicated/combined/ad-hoc) and more
 
 Specific firmware features for uFR Zero Series NFC readers
 uFR Zero Series readers specific firmware features
 
 Support for NXP SAM (Secure Application Module)
 Functions related to interacting with the SAM (Secure Application Module), such as authentication, key entry and more.
 
 uFR Online Reader specific commands
 Functions related to uFR Online series readers only, specifically targetting the embedded ESP32 MCU.
 
 uFR library support for Base HD NFC readers
 Functions related to toggling BaseHD reader relay and access control.
 

Functions

UFR_STATUS DL_API UfrGetBadSelectCardNrMaxM (UFR_HANDLE hndUFR, VAR uint8_t *bad_select_nr_max)
 Multi reader support. The function returns value of maximal unsuccessful card selections, which is set in reader.
 
UFR_STATUS DL_API UfrSetBadSelectCardNrMaxM (UFR_HANDLE hndUFR, uint8_t bad_select_nr_max)
 Multi reader support. The function allows you to set the number of unsuccessful card selections before it can be considered that the card is not placed on the reader. Period between two card selections is approximately 10ms. Default value of this parameter is 20 i.e. 200ms. This parameter can be set in the range of 0 to 254. This is useful for asynchronous card ID transmission, if parameter send_removed_enable in function SetAsyncCardIdSendConfig is set. Then you can set a lower value of the number of unsuccessful card selections, in order to send information to the card removed was faster. A small value of this parameter may cause a false report that the card is not present, and immediately thereafter true report that the card is present.
 

Detailed Description

Functions related to reader itself, to obtain some info or set certain device parameters.

Function Documentation

◆ UfrGetBadSelectCardNrMaxM()

UFR_STATUS DL_API UfrGetBadSelectCardNrMaxM ( UFR_HANDLE hndUFR,
VAR uint8_t * bad_select_nr_max )

Multi reader support. The function returns value of maximal unsuccessful card selections, which is set in reader.

Parameters
hndUFRhandle of the uFR device
bad_select_nr_maxpointer to number of unsuccessful card selections
Returns
Operation status

◆ UfrSetBadSelectCardNrMaxM()

UFR_STATUS DL_API UfrSetBadSelectCardNrMaxM ( UFR_HANDLE hndUFR,
uint8_t bad_select_nr_max )

Multi reader support. The function allows you to set the number of unsuccessful card selections before it can be considered that the card is not placed on the reader. Period between two card selections is approximately 10ms. Default value of this parameter is 20 i.e. 200ms. This parameter can be set in the range of 0 to 254. This is useful for asynchronous card ID transmission, if parameter send_removed_enable in function SetAsyncCardIdSendConfig is set. Then you can set a lower value of the number of unsuccessful card selections, in order to send information to the card removed was faster. A small value of this parameter may cause a false report that the card is not present, and immediately thereafter true report that the card is present.

Parameters
hndUFRhandle of the uFR device
bad_select_nr_maxnumber of unsuccessful card selections
Returns
Operation status