C API for BALTECH SDK
iso14ce.h
Go to the documentation of this file.
1 
11 #ifndef __BRP_BALTECH_API_CMDS_ISO14CE_H__
12 #define __BRP_BALTECH_API_CMDS_ISO14CE_H__
13 #include "../typedefs.h"
21 #define BRP_Iso14CE_ErrIso144State BRP_ERR_STATUS(0x4A00, 0x01)
22 
26 #define BRP_Iso14CE_ErrCom BRP_ERR_STATUS(0x4A00, 0x02)
27 
31 #define BRP_Iso14CE_ErrTransmission BRP_ERR_STATUS(0x4A00, 0x03)
32 
36 #define BRP_Iso14CE_ErrTimeout BRP_ERR_STATUS(0x4A00, 0x04)
37 
42 #define BRP_Iso14CE_ErrOverflow BRP_ERR_STATUS(0x4A00, 0x05)
43 
47 #define BRP_Iso14CE_ErrInternal BRP_ERR_STATUS(0x4A00, 0x06)
48 
52 #define BRP_Iso14CE_ErrDeselect BRP_ERR_STATUS(0x4A00, 0x07)
53 
124 brp_errcode brp_Iso14CE_ActivateCardAPDU(brp_protocol protocol, bool SpecifyTimeoutApdu, bool AutoWTX, unsigned ATQA, brp_buf Snr, bool DSEqualToDR, bool DS8, bool DS4, bool DS2, bool DR8, bool DR4, bool DR2, unsigned FWT, unsigned TimeoutPCD, unsigned TimeoutApdu, brp_buf ATS, size_t ATS_len, brp_buf* FirstCmd, size_t* FirstCmd_len, brp_mempool *mempool);
158 brp_errcode brp_Iso14CE_ExchangeCardAPDU(brp_protocol protocol, brp_buf Rsp, size_t Rsp_len, unsigned Timeout, brp_buf* Cmd, size_t* Cmd_len, brp_mempool *mempool);
195 brp_errcode brp_Iso14CE_ExtendWaitingTime(brp_protocol protocol, unsigned WaitingTimeout, unsigned WTXM, unsigned RefreshTimeRatio);
204 brp_errcode brp_Iso14CE_GetExternalHfStatus(brp_protocol protocol, unsigned* ExtFieldStat);
205 #endif
206 
brp_errcode brp_Iso14CE_ExchangeCardAPDU(brp_protocol protocol, brp_buf Rsp, size_t Rsp_len, unsigned Timeout, brp_buf *Cmd, size_t *Cmd_len, brp_mempool *mempool)
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
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
brp_errcode brp_Iso14CE_ExtendWaitingTime(brp_protocol protocol, unsigned WaitingTimeout, unsigned WTXM, unsigned RefreshTimeRatio)
brp_errcode brp_Iso14CE_GetExternalHfStatus(brp_protocol protocol, unsigned *ExtFieldStat)
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61
brp_errcode brp_Iso14CE_ActivateCardAPDU(brp_protocol protocol, bool SpecifyTimeoutApdu, bool AutoWTX, unsigned ATQA, brp_buf Snr, bool DSEqualToDR, bool DS8, bool DS4, bool DS2, bool DR8, bool DR4, bool DR2, unsigned FWT, unsigned TimeoutPCD, unsigned TimeoutApdu, brp_buf ATS, size_t ATS_len, brp_buf *FirstCmd, size_t *FirstCmd_len, brp_mempool *mempool)