C API for BALTECH SDK
i4ce.h File Reference

This command group allows to emulate an ISO 14443-4 card. More...

#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_I4CE_ErrIso144State   BRP_ERR_STATUS(0x4800, 0x01)
 Emulated PICC currently not in the proper state to exchange ISO14443-4 APDUs (PCD didn't activate the protocol or PICC has been deselected). More...
 
#define BRP_I4CE_ErrCom   BRP_ERR_STATUS(0x4800, 0x02)
 Communication problem between microcontroller and reader chip. More...
 
#define BRP_I4CE_ErrTransmission   BRP_ERR_STATUS(0x4800, 0x03)
 HF transmission error (e.g. More...
 
#define BRP_I4CE_ErrTimeout   BRP_ERR_STATUS(0x4800, 0x04)
 Timeout: no APDU was received from the PCD within the specified time. More...
 
#define BRP_I4CE_ErrOverflow   BRP_ERR_STATUS(0x4800, 0x05)
 Buffer overflow: the PCD sent more data than the receive buffer of the emulated PICC can handle. More...
 
#define BRP_I4CE_ErrInternal   BRP_ERR_STATUS(0x4800, 0x06)
 Internal error - should never occur. More...
 

Functions

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. More...
 
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. More...
 
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. More...
 
brp_errcode brp_I4CE_GetExternalHfStatus (brp_protocol protocol, unsigned *ExtFieldStat)
 Polls for an external HF field and returns the status in the ExtFieldStat variable. More...
 

Detailed Description

This command group allows to emulate an ISO 14443-4 card.

Definition in file i4ce.h.