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) 51 #define BRP_Iso14L4_ErrHf BRP_ERR_STATUS(0x1600, 0x04) 55 #define BRP_Iso14L4_ErrCard BRP_ERR_STATUS(0x1600, 0x05) 59 #define BRP_Iso14L4_ErrCom BRP_ERR_STATUS(0x1600, 0x10) 63 #define BRP_Iso14L4_ErrCmd BRP_ERR_STATUS(0x1600, 0x23) 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);
brp_DivisorInteger
Divisor Send/Receive Integer (DSI/DRI)
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
brp_Iso14L4_SetupAPDU_FSCI
Frame Size proximity Card Integer (FSCI).
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.
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.
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).