uFCoder 2.62
|
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. | |
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.
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.
On uFR power on or reset ad-hoc emulation parameters are set back to their default values.
ThresholdMinLevel | default value is 15. Could be in range from 0 to 15. |
ThresholdCollLevel | default value is 7. Could be in range from 0 to 7 |
RFLevelAmp | default value is 0. On uFR device should be 0 all the time. (1 for on, 0 for off). |
RxGain | Could be in range from 0 to 7. |
RFLevel | Could be in range from 0 to 15. |
UFR_STATUS DL_API GetExternalFieldState | ( | VAR uint8_t * | is_field_present | ) |
Returns external field state when uFR is in ad-hoc emulation mode.
is_field_present | value representing whehter field is present (1) or not (0) |
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.
ThresholdMinLevel | default value is 15. Could be in range from 0 to 15 |
ThresholdCollLevel | default value is 7. Could be in range from 0 to 7 |
RFLevelAmp | default value is 0. On uFR device should be 0 all the time. (1 for on, 0 for off). |
RxGain | Could be in range from 0 to 7. |
RFLevel | Could 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 |