BALTECH Docs |
C API for BALTECH SDK
|
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_Iso14CE_ErrIso144State BRP_ERR_STATUS(0x4A00, 0x01) |
Emulated PICC currently not in the proper state to exchange ISO14443-4 APDUs (PCD didn't activate the protocol) More... | |
#define | BRP_Iso14CE_ErrCom BRP_ERR_STATUS(0x4A00, 0x02) |
Communication problem between microcontroller and reader chip. More... | |
#define | BRP_Iso14CE_ErrTransmission BRP_ERR_STATUS(0x4A00, 0x03) |
HF transmission error (e.g. More... | |
#define | BRP_Iso14CE_ErrTimeout BRP_ERR_STATUS(0x4A00, 0x04) |
Timeout: no APDU was received from the PCD within the specified time. More... | |
#define | BRP_Iso14CE_ErrOverflow BRP_ERR_STATUS(0x4A00, 0x05) |
Buffer overflow: the PCD sent more data than the receive buffer of the emulated PICC can handle. More... | |
#define | BRP_Iso14CE_ErrInternal BRP_ERR_STATUS(0x4A00, 0x06) |
Internal error - should never occur. More... | |
#define | BRP_Iso14CE_ErrDeselect BRP_ERR_STATUS(0x4A00, 0x07) |
PICC has been deselected. More... | |
Functions | |
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) |
This command starts the reader's passive mode, emulating an ISO14443-4 compatible card, and returns the first APDU request received. More... | |
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) |
Send an APDU response to the APDU request received during the last call of Iso14CE.ExchangeInverseAPDU or brp_Iso14CE_ActivateCardAPDU(), and receive the next PCD APDU request. More... | |
brp_errcode | brp_Iso14CE_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_Iso14CE_GetExternalHfStatus (brp_protocol protocol, unsigned *ExtFieldStat) |
Polls for an external HF field and returns the status in the ExtFieldStat variable. More... | |
This command group allows to emulate an ISO 14443-4 card.
Definition in file iso14ce.h.