uFCoder 2.58
|
Functions | |
UFR_STATUS DL_API | WriteEmulationNdefM (UFR_HANDLE hndUFR, uint8_t tnf, IN uint8_t *type_record, uint8_t type_length, IN uint8_t *id, uint8_t id_length, IN uint8_t *payload, uint8_t payload_length) |
UFR_STATUS DL_API | TagEmulationStartM (UFR_HANDLE hndUFR) |
UFR_STATUS DL_API | TagEmulationStopM (UFR_HANDLE hndUFR) |
UFR_STATUS DL_API | WriteEmulationNdefRamM (UFR_HANDLE hndUFR, uint8_t tnf, uint8_t *type_record, uint8_t type_length, uint8_t *id, uint8_t id_length, uint8_t *payload, uint32_t payload_length) |
UFR_STATUS DL_API WriteEmulationNdefM | ( | UFR_HANDLE | hndUFR, |
uint8_t | tnf, | ||
IN uint8_t * | type_record, | ||
uint8_t | type_length, | ||
IN uint8_t * | id, | ||
uint8_t | id_length, | ||
IN uint8_t * | payload, | ||
uint8_t | payload_length ) |
Multi reader support. Function stores a message record for NTAG emulation mode into the reader. Parameters of the function are: TNF, type of record, ID, payload. Maximum total size for emulated NDEF message is 144 bytes.
hndUFR | handle of the uFR device |
tnf | TNF of the record |
type_record | pointer to the array containing record type |
type_length | length of the record type |
id | pointer to the array containing record ID |
id_length | length of the record ID |
payload | pointer to the array containing record payload |
payload_length | length of the record payload |
UFR_STATUS DL_API TagEmulationStartM | ( | UFR_HANDLE | hndUFR | ) |
Multi reader support. Put the reader permanently in a NDEF tag emulation mode. Only way for a reader to exit from this mode is to receive the TAG_EMULATION_STOP command (issued by calling TagEmulationStop() function). In this mode, the reader can only answer to the commands issued by a following library functions: TagEmulationStart(), WriteEmulationNdef(), TagEmulationStop(), GetReaderSerialNumber(), GetReaderSerialDescription(), GetReaderHardwareVersion(), GetReaderFirmwareVersion(), GetBuildNumber() Calls to the other functions in this mode returns following error code: FORBIDDEN_IN_TAG_EMULATION_MODE = 0x90
hndUFR | handle of the uFR device |
UFR_STATUS DL_API TagEmulationStopM | ( | UFR_HANDLE | hndUFR | ) |
Multi reader support. Allows the reader permanent exit from a NDEF tag emulation mode.
hndUFR | handle of the uFR device |
UFR_STATUS DL_API WriteEmulationNdefRamM | ( | UFR_HANDLE | hndUFR, |
uint8_t | tnf, | ||
uint8_t * | type_record, | ||
uint8_t | type_length, | ||
uint8_t * | id, | ||
uint8_t | id_length, | ||
uint8_t * | payload, | ||
uint32_t | payload_length ) |
Multi reader support. From library version 5.0.31, and firmware version 5.0.33 Function stores a message record for NTAG emulation mode into the reader in the RAM. Parameters of the function are: TNF, type of record, ID, payload. Maximum total size for emulated NDEF message is 1008 bytes. Unlike the function WriteEmulationNdef, the data is not written to the EEPROM of the reader, so they cannot be loaded after the reader is reset. This function must be called after reader reset to use the NTAG emulation.
hndUFR | handle of the uFR device |
tnf | TNF of the record |
type_record | pointer to the array containing record type |
type_length | length of the record type |
id | pointer to the array containing record ID |
id_length | length of the record ID |
payload | pointer to the array containing record payload |
payload_length | length of the record payload |