C API for BALTECH SDK
iso14l4.h
Go to the documentation of this file.
1 
45 #ifndef __BRP_BALTECH_API_CMDS_ISO14L4_H__
46 #define __BRP_BALTECH_API_CMDS_ISO14L4_H__
47 #include "../typedefs.h"
53 #define BRP_Iso14L4_ErrNoTag BRP_ERR_STATUS(0x1600, 0x01)
54 
58 #define BRP_Iso14L4_ErrHf BRP_ERR_STATUS(0x1600, 0x04)
59 
63 #define BRP_Iso14L4_ErrCard BRP_ERR_STATUS(0x1600, 0x05)
64 
68 #define BRP_Iso14L4_ErrCom BRP_ERR_STATUS(0x1600, 0x10)
69 
73 #define BRP_Iso14L4_ErrCmd BRP_ERR_STATUS(0x1600, 0x23)
74 
121 brp_errcode brp_Iso14L4_SetupAPDU(brp_protocol protocol, bool EnDefault, unsigned ToggleAB, bool EnNAD, bool EnCID, unsigned CID, unsigned NAD, brp_Iso14L4_SetupAPDU_FSCI FSCI, brp_Iso14L4_SetupAPDU_FWI FWI, brp_DivisorInteger DSI, brp_DivisorInteger DRI);
141 brp_errcode brp_Iso14L4_ExchangeAPDU(brp_protocol protocol, brp_buf SendData, size_t SendData_len, brp_buf* RecvData, size_t* RecvData_len, brp_mempool *mempool);
154 #endif
155 
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_Iso14L4_SetupAPDU_FSCI
Definition: typedefs.h:1644
brp_errcode brp_Iso14L4_SetupAPDU(brp_protocol protocol, bool EnDefault, unsigned ToggleAB, bool EnNAD, bool EnCID, unsigned CID, unsigned NAD, brp_Iso14L4_SetupAPDU_FSCI FSCI, brp_Iso14L4_SetupAPDU_FWI FWI, brp_DivisorInteger DSI, brp_DivisorInteger DRI)
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
brp_errcode brp_Iso14L4_Deselect(brp_protocol protocol)
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61
brp_errcode brp_Iso14L4_ExchangeAPDU(brp_protocol protocol, brp_buf SendData, size_t SendData_len, brp_buf *RecvData, size_t *RecvData_len, brp_mempool *mempool)
brp_Iso14L4_SetupAPDU_FWI
Definition: typedefs.h:1694