C API for BALTECH SDK
iso14b.h
Go to the documentation of this file.
1 
56 #ifndef __BRP_BALTECH_API_CMDS_ISO14B_H__
57 #define __BRP_BALTECH_API_CMDS_ISO14B_H__
58 #include "../typedefs.h"
64 #define BRP_Iso14b_ErrNoTag BRP_ERR_STATUS(0x1400, 0x01)
65 
71 #define BRP_Iso14b_ErrCollision BRP_ERR_STATUS(0x1400, 0x02)
72 
76 #define BRP_Iso14b_ErrAuth BRP_ERR_STATUS(0x1400, 0x03)
77 
81 #define BRP_Iso14b_ErrHf BRP_ERR_STATUS(0x1400, 0x04)
82 
86 #define BRP_Iso14b_ErrFrame BRP_ERR_STATUS(0x1400, 0x07)
87 
91 #define BRP_Iso14b_ErrCrc BRP_ERR_STATUS(0x1400, 0x08)
92 
96 #define BRP_Iso14b_ErrCom BRP_ERR_STATUS(0x1400, 0x10)
97 
101 #define BRP_Iso14b_ErrEeprom BRP_ERR_STATUS(0x1400, 0x21)
102 
106 #define BRP_Iso14b_ErrCardNotSupported BRP_ERR_STATUS(0x1400, 0x22)
107 
111 #define BRP_Iso14b_ErrMem BRP_ERR_STATUS(0x1400, 0x23)
112 
116 #define BRP_Iso14b_ErrHwNotSupported BRP_ERR_STATUS(0x1400, 0x24)
117 
141 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);
183 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);
252 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);
253 #endif
254 
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_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)
brp_Iso14b_Attrib_EOF_
Definition: typedefs.h:1534
brp_DivisorInteger
Definition: typedefs.h:3402
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
Definition: typedefs.h:1549
brp_Iso14b_Request_TimeSlots
Definition: typedefs.h:1240
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
brp_Iso14b_Attrib_TR0
Definition: typedefs.h:1494
brp_Iso14b_Attrib_TR1
Definition: typedefs.h:1515
brp_Iso14b_Attrib_FSDI
Definition: typedefs.h:1570
brp_errcode brp_Iso14b_SetTransparentSettings(brp_protocol protocol, brp_Iso14b_SetTransparentSettings_Tags_Entry *Tags, size_t Tags_len)
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)
Definition: typedefs.h:1613
brp_errcode brp_Iso14b_Halt(brp_protocol protocol, brp_buf PUPI)
Definition: typedefs.h:1627
brp_errcode brp_Iso14b_GetTransparentSettings(brp_protocol protocol, brp_Iso14b_GetTransparentSettings_Tags_Entry **Tags, size_t *Tags_len, brp_mempool *mempool)
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61
Definition: typedefs.h:1402