uFCoder 2.62
Loading...
Searching...
No Matches

Functions

UFR_STATUS DL_API AdHocEmulationStart (void)
 Put uFR in emulation mode with ad-hoc emulation parameters (see. SetAdHocEmulationParams() and GetAdHocEmulationParams() functions).
 
UFR_STATUS DL_API AdHocEmulationStop (void)
 Terminate uFR ad-hoc emulation mode.
 
UFR_STATUS DL_API GetAdHocEmulationParams (VAR uint8_t *ThresholdMinLevel, VAR uint8_t *ThresholdCollLevel, VAR uint8_t *RFLevelAmp, VAR uint8_t *RxGain, VAR uint8_t *RFLevel)
 This function returns current ad-hoc emulation parameters.
 
UFR_STATUS DL_API GetExternalFieldState (VAR uint8_t *is_field_present)
 Returns external field state when uFR is in ad-hoc emulation mode.
 
UFR_STATUS DL_API SetAdHocEmulationParams (uint8_t ThresholdMinLevel, uint8_t ThresholdCollLevel, uint8_t RFLevelAmp, uint8_t RxGain, uint8_t RFLevel)
 This command set ad-hoc emulation parameters.
 

Detailed Description

Function Documentation

◆ AdHocEmulationStart()

UFR_STATUS DL_API AdHocEmulationStart ( void )

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.

Returns
Operation status

◆ AdHocEmulationStop()

UFR_STATUS DL_API AdHocEmulationStop ( void )

Terminate uFR ad-hoc emulation mode.

Returns
Operation status

◆ GetAdHocEmulationParams()

UFR_STATUS DL_API GetAdHocEmulationParams ( VAR uint8_t * ThresholdMinLevel,
VAR uint8_t * ThresholdCollLevel,
VAR uint8_t * RFLevelAmp,
VAR uint8_t * RxGain,
VAR uint8_t * RFLevel )

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
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

◆ GetExternalFieldState()

UFR_STATUS DL_API GetExternalFieldState ( VAR uint8_t * is_field_present)

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

Parameters
is_field_presentvalue representing whehter field is present (1) or not (0)
Returns
Operation status

◆ SetAdHocEmulationParams()

UFR_STATUS DL_API SetAdHocEmulationParams ( uint8_t ThresholdMinLevel,
uint8_t ThresholdCollLevel,
uint8_t RFLevelAmp,
uint8_t RxGain,
uint8_t RFLevel )

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
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 CombinedModeEmulationStart Function description Puts the uFR reader into a permanently periodical switching from “NDEF tag emulation mode” to “tag reader mode”. Only way for a reader to exit from this mode is to receive the TAG_EMULATION_STOP command (issued by calling the TagEmulationStop() function). Much better control of the NFC device in a uFR proximity range can be achieved using Ad-Hoc emulation mode, described before. Function declaration (C language) UFR_STATUS CombinedModeEmulationStart(void); Function takes no parameters. ________________ Support for ISO14443-4 protocol
Returns
Operation status