53 #ifndef __BRP_BALTECH_API_CMDS_ISO14B_H__ 54 #define __BRP_BALTECH_API_CMDS_ISO14B_H__ 55 #include "../typedefs.h" 60 #define BRP_Iso14b_ErrNoTag BRP_ERR_STATUS(0x1400, 0x01) 66 #define BRP_Iso14b_ErrCollision BRP_ERR_STATUS(0x1400, 0x02) 70 #define BRP_Iso14b_ErrAuth BRP_ERR_STATUS(0x1400, 0x03) 74 #define BRP_Iso14b_ErrHf BRP_ERR_STATUS(0x1400, 0x04) 78 #define BRP_Iso14b_ErrFrame BRP_ERR_STATUS(0x1400, 0x07) 82 #define BRP_Iso14b_ErrCrc BRP_ERR_STATUS(0x1400, 0x08) 86 #define BRP_Iso14b_ErrCom BRP_ERR_STATUS(0x1400, 0x10) 90 #define BRP_Iso14b_ErrEeprom BRP_ERR_STATUS(0x1400, 0x21) 94 #define BRP_Iso14b_ErrCardNotSupported BRP_ERR_STATUS(0x1400, 0x22) 98 #define BRP_Iso14b_ErrMem BRP_ERR_STATUS(0x1400, 0x23) 102 #define BRP_Iso14b_ErrHwNotSupported BRP_ERR_STATUS(0x1400, 0x24) 167 brp_errcode brp_Iso14b_Attrib(
brp_protocol protocol,
brp_buf PUPI,
brp_Iso14b_Attrib_TR0 TR0,
brp_Iso14b_Attrib_TR1 TR1,
brp_Iso14b_Attrib_EOF_ EOF_,
brp_Iso14b_Attrib_SOF SOF,
brp_DivisorInteger DSI,
brp_DivisorInteger DRI,
brp_Iso14b_Attrib_FSDI FSDI,
unsigned CID,
bool EnHLR,
bool EnMBLI,
bool EnCID,
unsigned* AssignedCID,
unsigned* MBLI,
brp_buf* HLR,
size_t* HLR_len,
brp_mempool *mempool);
232 brp_errcode brp_Iso14b_TransparentCmd(
brp_protocol protocol,
unsigned EnCRCRX,
unsigned EnCRCTX,
unsigned SendDataLen,
unsigned Timeout,
brp_DivisorInteger DSI,
brp_DivisorInteger DRI,
brp_buf SendData,
size_t SendData_len,
brp_buf* RecvData,
size_t* RecvData_len,
brp_mempool *mempool);
brp_errcode brp_Iso14b_TransparentCmd(brp_protocol protocol, unsigned EnCRCRX, unsigned EnCRCTX, unsigned SendDataLen, unsigned Timeout, brp_DivisorInteger DSI, brp_DivisorInteger DRI, brp_buf SendData, size_t SendData_len, brp_buf *RecvData, size_t *RecvData_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_Iso14b_Request(brp_protocol protocol, bool ReqAll, brp_Iso14b_Request_TimeSlots TimeSlots, unsigned AFI, brp_Iso14b_Request_ValueList_Entry **ValueList, size_t *ValueList_len, brp_mempool *mempool)
Scan for ISO 14443 (Type B) compliant PICCs in the field of the antenna.
brp_Iso14b_Attrib_EOF_
End Of Frame (EOF) flag for sending data to reader.
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_Iso14b_Attrib_SOF
Start Of Frame (SOF) flag for sending data to reader.
brp_Iso14b_Request_TimeSlots
Number of time slots which should be used for requesting PICCs.
struct brp_mempool_object_t * brp_mempool
mempool handle.
brp_Iso14b_Attrib_TR0
PICC's minimum delay before responding after the end of a command sent by PCD.
brp_Iso14b_Attrib_TR1
Minimum delay between subcarrier modulation start and beginning of data transmission.
brp_Iso14b_Attrib_FSDI
Frame Size proximity coupling Device Integer (FSDI) value.
brp_errcode brp_Iso14b_SetTransparentSettings(brp_protocol protocol, brp_Iso14b_SetTransparentSettings_Tags_Entry *Tags, size_t Tags_len)
**This command is obsolete and included here only for compatibility reasons.
brp_errcode brp_Iso14b_Attrib(brp_protocol protocol, brp_buf PUPI, brp_Iso14b_Attrib_TR0 TR0, brp_Iso14b_Attrib_TR1 TR1, brp_Iso14b_Attrib_EOF_ EOF_, brp_Iso14b_Attrib_SOF SOF, brp_DivisorInteger DSI, brp_DivisorInteger DRI, brp_Iso14b_Attrib_FSDI FSDI, unsigned CID, bool EnHLR, bool EnMBLI, bool EnCID, unsigned *AssignedCID, unsigned *MBLI, brp_buf *HLR, size_t *HLR_len, brp_mempool *mempool)
Select the PICC with given PUPI serial number for further communication.
brp_errcode brp_Iso14b_Halt(brp_protocol protocol, brp_buf PUPI)
Switch the PICC with the given PUPI serial number into halt state, so that it will not answer to furt...
brp_errcode brp_Iso14b_GetTransparentSettings(brp_protocol protocol, brp_Iso14b_GetTransparentSettings_Tags_Entry **Tags, size_t *Tags_len, brp_mempool *mempool)
**This command is obsolete and included here only for compatibility reasons.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.