![]() |
BALTECH Docs |
C API for BALTECH SDK
|
These are LT transponder commands. More...
#include "../typedefs.h"Go to the source code of this file.
Macros | |
| #define | BRP_LT_ErrLtNoTag BRP_ERR_STATUS(0xA000, 0x01) |
| No tag present in the reader's RFID field. More... | |
| #define | BRP_LT_ErrLtCrc BRP_ERR_STATUS(0xA000, 0x02) |
| CRC checksum error. More... | |
| #define | BRP_LT_ErrLtParity BRP_ERR_STATUS(0xA000, 0x05) |
| Parity error. More... | |
| #define | BRP_LT_LtNackReceived BRP_ERR_STATUS(0xA000, 0x06) |
| NACK received, command not accepted. More... | |
| #define | BRP_LT_ErrLtHf BRP_ERR_STATUS(0xA000, 0x07) |
| General HF error. More... | |
| #define | BRP_LT_ErrLtSnr BRP_ERR_STATUS(0xA000, 0x08) |
| Collision occurred. More... | |
| #define | BRP_LT_ErrLtBitcount BRP_ERR_STATUS(0xA000, 0x0B) |
| Wrong number of bits received from the transponder. More... | |
| #define | BRP_LT_ErrLtFileov BRP_ERR_STATUS(0xA000, 0x0C) |
| To many blocks written to file. More... | |
| #define | BRP_LT_ErrLtCom BRP_ERR_STATUS(0xA000, 0x0D) |
| Communication error uC - reader chip. More... | |
| #define | BRP_LT_ErrLtCmd BRP_ERR_STATUS(0xA000, 0x13) |
| Command syntax error. More... | |
| #define | BRP_LT_ErrLtEepRead BRP_ERR_STATUS(0xA000, 0x15) |
| Error reading EEPROM of the reader. More... | |
| #define | BRP_LT_ErrLtEepWrite BRP_ERR_STATUS(0xA000, 0x16) |
| Error writing EEPROM of the reader. More... | |
Functions | |
| brp_errcode | brp_LT_Request (brp_protocol protocol, bool ReqAll, brp_buf *ATQA, brp_mempool *mempool) |
| According to the ReqAll flag, either only PICCs in idle state or also PICCs in halt state will be switched to ready state. More... | |
| brp_errcode | brp_LT_Anticoll (brp_protocol protocol, unsigned BitCount, brp_buf PreSelectedSnr, brp_buf *SelectedSnr, brp_mempool *mempool) |
| This command performs an anticollision sequence. More... | |
| brp_errcode | brp_LT_Select (brp_protocol protocol, brp_buf Snr) |
| This command selects a PICC with 4-Byte serial number. More... | |
| brp_errcode | brp_LT_Halt (brp_protocol protocol) |
| Switch PICC to halt state. More... | |
| brp_errcode | brp_LT_ReadBlock (brp_protocol protocol, unsigned Adr, brp_buf *Data, brp_mempool *mempool) |
| Reads a block (32 Byte) from the transponder. More... | |
| brp_errcode | brp_LT_ReadMultipleBlocks (brp_protocol protocol, unsigned Adr, unsigned NumBlocks, brp_buf *Data, size_t *Data_len, brp_mempool *mempool) |
| Reads several blocks (32 Byte) from the transponder. More... | |
| brp_errcode | brp_LT_WriteBlock (brp_protocol protocol, unsigned Adr, brp_buf Data) |
| Writes a block (32 Byte) to the transponder. More... | |
| brp_errcode | brp_LT_ReadWord (brp_protocol protocol, unsigned BlockAdr, unsigned WordAdr, unsigned *DataLo, unsigned *DataHi) |
| Reads a word (2 Byte) from the transponder. More... | |
| brp_errcode | brp_LT_WriteWord (brp_protocol protocol, unsigned BlockAdr, unsigned WordAdr, unsigned DataLo, unsigned DataHi) |
| Writes a word to the transponder. More... | |
| brp_errcode | brp_LT_WriteFile (brp_protocol protocol, unsigned FileNr, unsigned Mode, unsigned BlockAdr, brp_buf Data) |
| Writes a test file to the reader. More... | |
| brp_errcode | brp_LT_Test (brp_protocol protocol, unsigned Mode, unsigned *Teststatus, brp_buf *Snr, brp_mempool *mempool) |
| Writes a test file to the reader. More... | |
| brp_errcode | brp_LT_FastWriteBlock (brp_protocol protocol, unsigned Adr, brp_buf Data) |
| Writes a block (32 Byte) to the transponder, write time is reduced (LT5). More... | |
| brp_errcode | brp_LT_FastWriteWord (brp_protocol protocol, unsigned BlockAdr, unsigned WordAdr, unsigned DataLo, unsigned DataHi) |
| Writes a word to the transponder, write time is reduced (LT5). More... | |
| brp_errcode | brp_LT_HighSpeedWriteBlock (brp_protocol protocol, unsigned Adr, brp_buf Data) |
| Writes a block (32 Byte) to the transponder, write time is reduced (LT5), block 1 has to be unprotected. More... | |
| brp_errcode | brp_LT_GetBootStatus (brp_protocol protocol, unsigned Mode, unsigned *BootStatusLo, unsigned *BootStatusHi) |
| Retrieves the boot status of the reader, which describes the state of the readers hardware. More... | |
| brp_errcode | brp_LT_ContinousReadBlocks (brp_protocol protocol, unsigned Adr, unsigned NumBlocks, brp_buf *Data, size_t *Data_len, brp_mempool *mempool) |
| Reads several blocks (32 Byte) from the transponder. More... | |
| brp_errcode | brp_LT_SetReturnLink (brp_protocol protocol, unsigned Mode) |
| Sets the transponder baud rate after selection. More... | |
| brp_errcode | brp_LT_HFReset (brp_protocol protocol, unsigned OffDurationLo, unsigned OffDurationHi) |
| This command controls the antenna of the reader. More... | |
| brp_errcode | brp_LT_Reset (brp_protocol protocol, unsigned Quit) |
| This command reboots the reader. More... | |
| brp_errcode | brp_LT_GetInfo (brp_protocol protocol, char **Info, brp_mempool *mempool) |
| Retrieves the firmware string, which provides information regarding the firmware release of the reader and the reader's serial number. More... | |
| brp_errcode | brp_LT_TransparentCmd (brp_protocol protocol, unsigned EnBitMode, unsigned EnCRCRX, unsigned EnCRCTX, unsigned ParityMode, unsigned EnParity, unsigned LenLo, unsigned LenHi, unsigned TimeoutLo, unsigned TimeoutHi, unsigned DSI, unsigned DRI, brp_buf Data, size_t Data_len, unsigned *ReturnLenLo, unsigned *ReturnLenHi, unsigned *ColPos, brp_buf *ReturnData, size_t *ReturnData_len, brp_mempool *mempool) |
| brp_errcode | brp_LT_ReadBlockExtended (brp_protocol protocol, unsigned AdrLo, unsigned AdrHi, brp_buf *Data, brp_mempool *mempool) |
| Reads a block (32 Byte) from the transponder using a 16-bit block address. More... | |
| brp_errcode | brp_LT_WriteBlockExtended (brp_protocol protocol, unsigned AdrLo, unsigned AdrHi, brp_buf Data) |
| Writes a block (32 Byte) to the transponder using a 16-bit block address. More... | |
| brp_errcode | brp_LT_ReadWordExtended (brp_protocol protocol, unsigned AdrLo, unsigned AdrHi, unsigned WordAdr, unsigned *DataLo, unsigned *DataHi) |
| Reads a word (2 Byte) from the transponder using a 16-bit address. More... | |
| brp_errcode | brp_LT_WriteWordExtended (brp_protocol protocol, unsigned BlockAdrLo, unsigned BlockAdrHi, unsigned WordAdr, unsigned DataLo, unsigned DataHi) |
| Writes a word to the transponder using a 16-bit block address. More... | |
| brp_errcode | brp_LT_ReadMultipleBlocksExtended (brp_protocol protocol, unsigned AdrLo, unsigned AdrHi, unsigned NumBlocks, brp_buf *Data, size_t *Data_len, brp_mempool *mempool) |
| Reads several blocks (32 Byte) from the transponder. More... | |
| brp_errcode | brp_LT_FastWriteWordExtended (brp_protocol protocol, unsigned BlockAdrLo, unsigned BlockAdrHi, unsigned WordAdr, unsigned DataLo, unsigned DataHi) |
| Writes a word to the transponder using a 16-bit block address + fast mode. More... | |
| brp_errcode | brp_LT_ContinousReadBlocksExtended (brp_protocol protocol, unsigned AdrLo, unsigned AdrHi, unsigned NumBlocks, brp_buf *Data, size_t *Data_len, brp_mempool *mempool) |
| Reads several blocks (32 Byte) from the transponder using fast mode. More... | |
| brp_errcode | brp_LT_HighSpeedWriteBlockExtended (brp_protocol protocol, unsigned AdrLo, unsigned AdrHi, brp_buf Data) |
| Writes a block (32 Byte) to the transponder using a 16-bit address, write time is reduced (LT6). More... | |
These are LT transponder commands.
Definition in file lt.h.