C API for BALTECH SDK
iso14l4.h
Go to the documentation of this file.
1 
40 #ifndef __BRP_BALTECH_API_CMDS_ISO14L4_H__
41 #define __BRP_BALTECH_API_CMDS_ISO14L4_H__
42 #include "../typedefs.h"
47 #define BRP_Iso14L4_ErrNoTag BRP_ERR_STATUS(0x1600, 0x01)
48 
51 #define BRP_Iso14L4_ErrHf BRP_ERR_STATUS(0x1600, 0x04)
52 
55 #define BRP_Iso14L4_ErrCard BRP_ERR_STATUS(0x1600, 0x05)
56 
59 #define BRP_Iso14L4_ErrCom BRP_ERR_STATUS(0x1600, 0x10)
60 
63 #define BRP_Iso14L4_ErrCmd BRP_ERR_STATUS(0x1600, 0x23)
64 
110 brp_errcode brp_Iso14L4_SetupAPDU(brp_protocol protocol, bool EnDefault, unsigned ToggleAB, bool EnNAD, bool EnCID, unsigned CID, unsigned NAD, brp_Iso14L4_SetupAPDU_FSCI FSCI, brp_Iso14L4_SetupAPDU_FWI FWI, brp_DivisorInteger DSI, brp_DivisorInteger DRI);
129 brp_errcode brp_Iso14L4_ExchangeAPDU(brp_protocol protocol, brp_buf SendData, size_t SendData_len, brp_buf* RecvData, size_t* RecvData_len, brp_mempool *mempool);
139 #endif
140 
brp_DivisorInteger
Divisor Send/Receive Integer (DSI/DRI)
Definition: typedefs.h:3321
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
brp_Iso14L4_SetupAPDU_FSCI
Frame Size proximity Card Integer (FSCI).
Definition: typedefs.h:1593
brp_errcode brp_Iso14L4_SetupAPDU(brp_protocol protocol, bool EnDefault, unsigned ToggleAB, bool EnNAD, bool EnCID, unsigned CID, unsigned NAD, brp_Iso14L4_SetupAPDU_FSCI FSCI, brp_Iso14L4_SetupAPDU_FWI FWI, brp_DivisorInteger DSI, brp_DivisorInteger DRI)
Setup communication parameters and select a certain PICC for APDU exchange.
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
brp_errcode brp_Iso14L4_Deselect(brp_protocol protocol)
This command switches one or multiple PICC(s) to halt state.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61
brp_errcode brp_Iso14L4_ExchangeAPDU(brp_protocol protocol, brp_buf SendData, size_t SendData_len, brp_buf *RecvData, size_t *RecvData_len, brp_mempool *mempool)
This command allows to transmit/receive Application Protocol Data Units (APDUs) according to the ISO ...
brp_Iso14L4_SetupAPDU_FWI
Frame Waiting time Integer (FWI).
Definition: typedefs.h:1642