uFCoder 2.58
Loading...
Searching...
No Matches

Functions

UFR_STATUS DL_API AdHocEmulationStartM (UFR_HANDLE hndUFR)
 
UFR_STATUS DL_API AdHocEmulationStopM (UFR_HANDLE hndUFR)
 
UFR_STATUS DL_API GetAdHocEmulationParamsM (UFR_HANDLE hndUFR, VAR uint8_t *ThresholdMinLevel, VAR uint8_t *ThresholdCollLevel, VAR uint8_t *RFLevelAmp, VAR uint8_t *RxGain, VAR uint8_t *RFLevel)
 
UFR_STATUS DL_API SetAdHocEmulationParamsM (UFR_HANDLE hndUFR, uint8_t ThresholdMinLevel, uint8_t ThresholdCollLevel, uint8_t RFLevelAmp, uint8_t RxGain, uint8_t RFLevel)
 
UFR_STATUS DL_API GetExternalFieldStateM (UFR_HANDLE hndUFR, VAR uint8_t *is_field_present)
 

Detailed Description

Function Documentation

◆ AdHocEmulationStartM()

UFR_STATUS DL_API AdHocEmulationStartM ( UFR_HANDLE hndUFR)

Multi reader support. Put uFR in emulation mode with ad-hoc emulation parameters (see. SetAdHocEmulationParams() and GetAdHocEmulationParams() functions). uFR stays in ad-hoc emulation mode until AdHocEmulationStop() is called or reader reset.

Parameters
hndUFRhandle of the uFR device
Returns
Operation status

◆ AdHocEmulationStopM()

UFR_STATUS DL_API AdHocEmulationStopM ( UFR_HANDLE hndUFR)

Multi reader support. Terminate uFR ad-hoc emulation mode.

Parameters
hndUFRhandle of the uFR device
Returns
Operation status

◆ GetAdHocEmulationParamsM()

UFR_STATUS DL_API GetAdHocEmulationParamsM ( UFR_HANDLE hndUFR,
VAR uint8_t * ThresholdMinLevel,
VAR uint8_t * ThresholdCollLevel,
VAR uint8_t * RFLevelAmp,
VAR uint8_t * RxGain,
VAR uint8_t * RFLevel )

Multi reader support. This function returns current ad-hoc emulation parameters. On uFR power on or reset ad-hoc emulation parameters are set back to their default values.

Parameters
hndUFRhandle of the uFR device
ThresholdMinLeveldefault value is 15. Could be in range from 0 to 15.
ThresholdCollLeveldefault value is 7. Could be in range from 0 to 7
RFLevelAmpdefault value is 0. On uFR device should be 0 all the time. (1 for on, 0 for off).
RxGainCould be in range from 0 to 7.
RFLevelCould be in range from 0 to 15.
Returns
Operation status

◆ SetAdHocEmulationParamsM()

UFR_STATUS DL_API SetAdHocEmulationParamsM ( UFR_HANDLE hndUFR,
uint8_t ThresholdMinLevel,
uint8_t ThresholdCollLevel,
uint8_t RFLevelAmp,
uint8_t RxGain,
uint8_t RFLevel )

Multi reader support. This command set ad-hoc emulation parameters. On uFR power on or reset ad-hoc emulation parameters are set back to their default values.

Parameters
hndUFRhandle of the uFR device
ThresholdMinLeveldefault value is 15. Could be in range from 0 to 15
ThresholdCollLeveldefault value is 7. Could be in range from 0 to 7
RFLevelAmpdefault value is 0. On uFR device should be 0 all the time. (1 for on, 0 for off).
RxGainCould be in range from 0 to 7.
RFLevelCould be in range from 0 to 15
Returns
Operation status

◆ GetExternalFieldStateM()

UFR_STATUS DL_API GetExternalFieldStateM ( UFR_HANDLE hndUFR,
VAR uint8_t * is_field_present )

Multi reader support. Returns external field state when uFR is in ad-hoc emulation mode.

Parameters
hndUFRhandle of the uFR device
is_field_presentcontains 0 if external field isn’t present or 1 if field is present.
Returns
Operation status