54 #ifndef __BRP_BALTECH_API_CMDS_ISO14A_H__    55 #define __BRP_BALTECH_API_CMDS_ISO14A_H__    56 #include "../typedefs.h"    61 #define BRP_Iso14a_ErrNoTag BRP_ERR_STATUS(0x1300, 0x01)    72 #define BRP_Iso14a_ErrCollision BRP_ERR_STATUS(0x1300, 0x02)    76 #define BRP_Iso14a_ErrHf BRP_ERR_STATUS(0x1300, 0x04)    80 #define BRP_Iso14a_ErrKey BRP_ERR_STATUS(0x1300, 0x06)    84 #define BRP_Iso14a_ErrFrame BRP_ERR_STATUS(0x1300, 0x07)    88 #define BRP_Iso14a_ErrCrc BRP_ERR_STATUS(0x1300, 0x08)    92 #define BRP_Iso14a_ErrCom BRP_ERR_STATUS(0x1300, 0x10)    96 #define BRP_Iso14a_ErrEeprom BRP_ERR_STATUS(0x1300, 0x21)   100 #define BRP_Iso14a_ErrCardNotSupported BRP_ERR_STATUS(0x1300, 0x22)   104 #define BRP_Iso14a_ErrHwNotSupported BRP_ERR_STATUS(0x1300, 0x23)   108 #define BRP_Iso14a_BreakErr BRP_ERR_STATUS(0x1300, 0x30)   320 brp_errcode brp_Iso14a_TransparentCmd(
brp_protocol protocol, 
bool EnMifBwProt, 
bool EnBitmode, 
bool EnCRCRX, 
bool EnCRCTX, 
bool ParityMode, 
bool EnParity, 
unsigned SendDataLen, 
unsigned Timeout, 
brp_DivisorInteger DSI, 
brp_DivisorInteger DRI, 
brp_buf SendData, 
size_t SendData_len, 
brp_buf* RcvData, 
size_t* RcvData_len, 
brp_mempool *mempool);
   340 brp_errcode brp_Iso14a_TransparentCmdBitlen(
brp_protocol protocol, 
bool EnHighBaudOld, 
bool EnParTx, 
unsigned SendDataLen, 
unsigned Timeout, 
brp_DivisorInteger DSI, 
brp_DivisorInteger DRI, 
brp_buf SendData, 
size_t SendData_len, 
unsigned* RecvDataLen, 
unsigned* CollisionPosition, 
brp_buf* RecvData, 
size_t* RecvData_len, 
brp_mempool *mempool);
 brp_errcode brp_Iso14a_SelectOnly(brp_protocol protocol, brp_buf Snr, unsigned *SAK)
This command selects a PICC with a 4 Byte serial number. 
 
brp_DivisorInteger
Divisor Send/Receive Integer (DSI/DRI) 
 
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions. 
 
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol. 
 
brp_errcode brp_Iso14a_Select(brp_protocol protocol, unsigned CascLev, unsigned BitCount, brp_buf PreSelSer, size_t PreSelSer_len, unsigned *SAK, brp_buf *Serial, size_t *Serial_len, brp_mempool *mempool)
This command Performs the anti-collision and selection sequence of a PICC in the field of the antenna...
 
struct brp_mempool_object_t * brp_mempool
mempool handle. 
 
brp_errcode brp_Iso14a_TransparentCmdBitlen(brp_protocol protocol, bool EnHighBaudOld, bool EnParTx, unsigned SendDataLen, unsigned Timeout, brp_DivisorInteger DSI, brp_DivisorInteger DRI, brp_buf SendData, size_t SendData_len, unsigned *RecvDataLen, unsigned *CollisionPosition, brp_buf *RecvData, size_t *RecvData_len, brp_mempool *mempool)
This command is similar to Iso14a.TransparentCmd. 
 
brp_errcode brp_Iso14a_RequestATS(brp_protocol protocol, brp_Iso14a_RequestATS_FSDI FSDI, unsigned CID, brp_buf *ATS, size_t *ATS_len, brp_mempool *mempool)
This command requests the Answer to Select (ATS) of the PICC according to the ISO 14443-3 (Type A) st...
 
brp_errcode brp_Iso14a_Request(brp_protocol protocol, bool ReqAll, brp_buf *ATQA, bool *Collision, brp_mempool *mempool)
This commands scans for ISO 14443-3 (Type A) compliant PICCs in the field of the antenna. 
 
brp_errcode brp_Iso14a_Halt(brp_protocol protocol)
Switch PICC to halt state. 
 
brp_Iso14a_RequestLegacy_UIDSize
Length of "Unique IDentifier" (UID). 
 
brp_errcode brp_Iso14a_Anticoll(brp_protocol protocol, unsigned BitCount, brp_buf PreSelectedSnr, brp_buf *SelectedSnr, brp_mempool *mempool)
This command performs an anti-collision sequence. 
 
unsigned char * brp_buf
represents a pointer to a protocol data buffer. 
 
brp_errcode brp_Iso14a_PerformPPS(brp_protocol protocol, unsigned CID, brp_DivisorInteger DSI, brp_DivisorInteger DRI)
This command sets up the communication parameters for ISO 14443-4 commands. 
 
brp_Iso14a_RequestATS_FSDI
Frame Size proximity coupling Device Integer (FSDI) value. 
 
brp_errcode brp_Iso14a_TransparentCmd(brp_protocol protocol, bool EnMifBwProt, bool EnBitmode, bool EnCRCRX, bool EnCRCTX, bool ParityMode, bool EnParity, unsigned SendDataLen, unsigned Timeout, brp_DivisorInteger DSI, brp_DivisorInteger DRI, brp_buf SendData, size_t SendData_len, brp_buf *RcvData, size_t *RcvData_len, brp_mempool *mempool)
This command sends a data stream to a card and returns the communication status and the received card...
 
brp_errcode brp_Iso14a_RequestLegacy(brp_protocol protocol, bool ReqAll, brp_Iso14a_RequestLegacy_UIDSize *UIDSize, unsigned *Coll, unsigned *ProprietaryCoding)
This commands scans for ISO 14443-3 (Type A) compliant PICCs in the field of the antenna.