C API for BALTECH SDK
iso14b.h
Go to the documentation of this file.
1 
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)
61 
66 #define BRP_Iso14b_ErrCollision BRP_ERR_STATUS(0x1400, 0x02)
67 
70 #define BRP_Iso14b_ErrAuth BRP_ERR_STATUS(0x1400, 0x03)
71 
74 #define BRP_Iso14b_ErrHf BRP_ERR_STATUS(0x1400, 0x04)
75 
78 #define BRP_Iso14b_ErrFrame BRP_ERR_STATUS(0x1400, 0x07)
79 
82 #define BRP_Iso14b_ErrCrc BRP_ERR_STATUS(0x1400, 0x08)
83 
86 #define BRP_Iso14b_ErrCom BRP_ERR_STATUS(0x1400, 0x10)
87 
90 #define BRP_Iso14b_ErrEeprom BRP_ERR_STATUS(0x1400, 0x21)
91 
94 #define BRP_Iso14b_ErrCardNotSupported BRP_ERR_STATUS(0x1400, 0x22)
95 
98 #define BRP_Iso14b_ErrMem BRP_ERR_STATUS(0x1400, 0x23)
99 
102 #define BRP_Iso14b_ErrHwNotSupported BRP_ERR_STATUS(0x1400, 0x24)
103 
126 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);
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);
233 #endif
234 
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.
Definition: typedefs.h:1488
brp_DivisorInteger
Divisor Send/Receive Integer (DSI/DRI)
Definition: typedefs.h:3321
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
Definition: errorcodes.h:23
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
Definition: protocol.h:34
brp_Iso14b_Attrib_SOF
Start Of Frame (SOF) flag for sending data to reader.
Definition: typedefs.h:1502
brp_Iso14b_Request_TimeSlots
Number of time slots which should be used for requesting PICCs.
Definition: typedefs.h:1201
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
brp_Iso14b_Attrib_TR0
PICC's minimum delay before responding after the end of a command sent by PCD.
Definition: typedefs.h:1450
brp_Iso14b_Attrib_TR1
Minimum delay between subcarrier modulation start and beginning of data transmission.
Definition: typedefs.h:1470
brp_Iso14b_Attrib_FSDI
Frame Size proximity coupling Device Integer (FSDI) value.
Definition: typedefs.h:1522
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.
Definition: typedefs.h:1564
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...
Definition: typedefs.h:1577
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.
Definition: common.h:61
Definition: typedefs.h:1359