BALTECH Docs |
C API for BALTECH SDK
|
This command group allows to emulate an ISO 14443-3 card. More...
#include "../typedefs.h"
Go to the source code of this file.
Macros | |
#define | BRP_CardEmu_CardemuErrNoTag BRP_ERR_STATUS(0x4700, 0x01) |
No tag error. More... | |
#define | BRP_CardEmu_CardemuErrCollision BRP_ERR_STATUS(0x4700, 0x02) |
Collision occurred (status value will be stored with bit position of collision in high nibble). More... | |
#define | BRP_CardEmu_CardemuErrHf BRP_ERR_STATUS(0x4700, 0x04) |
General HF error. More... | |
#define | BRP_CardEmu_CardemuErrFrame BRP_ERR_STATUS(0x4700, 0x07) |
Bit error, parity error or frame error (start /stop bit). More... | |
#define | BRP_CardEmu_CardemuErrCrc BRP_ERR_STATUS(0x4700, 0x08) |
CRC checksum error. More... | |
#define | BRP_CardEmu_CardemuErrCom BRP_ERR_STATUS(0x4700, 0x10) |
Communication error uC - reader chip. More... | |
#define | BRP_CardEmu_CardemuErrBuflen BRP_ERR_STATUS(0x4700, 0x11) |
Remaining data in FIFO / FIFO overflow. More... | |
#define | BRP_CardEmu_CardemuErrTimeout BRP_ERR_STATUS(0x4700, 0x3F) |
Timeout occurred while waiting for card / APDU command. More... | |
Functions | |
brp_errcode | brp_CardEmu_GetMaxFrameSize (brp_protocol protocol, unsigned *MaxFrameSize) |
This command returns the maximum size of a single ISO14443-3 frame that may be sent/received via brp_CardEmu_StartEmu() or brp_CardEmu_TransparentCmd(). More... | |
brp_errcode | brp_CardEmu_StartEmu (brp_protocol protocol, brp_buf Snr, unsigned ATQA, unsigned SAK, unsigned Timeout, brp_buf *FirstCmd, size_t *FirstCmd_len, brp_mempool *mempool) |
Switch to Passive mode and wait for a ISO1443-3a Request/Anticoll/Select sequence and receive the first frame. More... | |
brp_errcode | brp_CardEmu_TransparentCmd (brp_protocol protocol, brp_buf Rsp, size_t Rsp_len, unsigned Timeout, brp_buf *Cmd, size_t *Cmd_len, brp_mempool *mempool) |
Sends a response to the command returned by brp_CardEmu_StartEmu() or to the command returned by the last brp_CardEmu_TransparentCmd(). More... | |
brp_errcode | brp_CardEmu_GetExternalHfStatus (brp_protocol protocol, unsigned *ExtFieldStat) |
Returns true if an external HF field is detected. More... | |
brp_errcode | brp_CardEmu_StartNfc (brp_protocol protocol, bool NfcAPassiv, brp_buf Snr, unsigned ATQA, unsigned SAK, unsigned Timeout, brp_buf *FirstCmd, size_t *FirstCmd_len, brp_mempool *mempool) |
Switch to Passive mode and wait for an NFC powerup sequence. More... | |
This command group allows to emulate an ISO 14443-3 card.
Definition in file cardemu.h.