10 #ifndef __BRP_BALTECH_API_CMDS_I4CE_H__ 11 #define __BRP_BALTECH_API_CMDS_I4CE_H__ 12 #include "../typedefs.h" 19 #define BRP_I4CE_ErrIso144State BRP_ERR_STATUS(0x4800, 0x01) 23 #define BRP_I4CE_ErrCom BRP_ERR_STATUS(0x4800, 0x02) 27 #define BRP_I4CE_ErrTransmission BRP_ERR_STATUS(0x4800, 0x03) 31 #define BRP_I4CE_ErrTimeout BRP_ERR_STATUS(0x4800, 0x04) 36 #define BRP_I4CE_ErrOverflow BRP_ERR_STATUS(0x4800, 0x05) 40 #define BRP_I4CE_ErrInternal BRP_ERR_STATUS(0x4800, 0x06) 115 brp_errcode brp_I4CE_StartEmu(
brp_protocol protocol,
brp_buf Snr,
unsigned FWT,
unsigned TimeoutPCD,
unsigned TimeoutAPDU,
brp_buf ATS,
size_t ATS_len,
unsigned AutoWTX,
brp_buf* FirstCmd,
size_t* FirstCmd_len,
brp_mempool *mempool);
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
brp_errcode brp_I4CE_GetExternalHfStatus(brp_protocol protocol, unsigned *ExtFieldStat)
Polls for an external HF field and returns the status in the ExtFieldStat variable.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
brp_errcode brp_I4CE_ExchangeInverseAPDU(brp_protocol protocol, brp_buf Rsp, size_t Rsp_len, unsigned Timeout, brp_buf *Cmd, size_t *Cmd_len, brp_mempool *mempool)
**This command is marked as deprecated as it is not supported by Baltech's SDK.
brp_errcode brp_I4CE_ExtendWaitingTime(brp_protocol protocol, unsigned WaitingTimeout, unsigned WTXM, unsigned RefreshTimeRatio)
This command enables to extend the waiting time for the response from the PCD.
struct brp_mempool_object_t * brp_mempool
mempool handle.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
brp_errcode brp_I4CE_StartEmu(brp_protocol protocol, brp_buf Snr, unsigned FWT, unsigned TimeoutPCD, unsigned TimeoutAPDU, brp_buf ATS, size_t ATS_len, unsigned AutoWTX, brp_buf *FirstCmd, size_t *FirstCmd_len, brp_mempool *mempool)
**This command is marked as deprecated as it is not supported by Baltech's SDK.