28 #ifndef __BRP_BALTECH_SDK_CMDS_ISO14B_H__ 29 #define __BRP_BALTECH_SDK_CMDS_ISO14B_H__ 30 #include "../typedefs.h" 34 #define BRP_Iso14b_ErrNoTag BRP_ERR_STATUS(0x1400, 0x01) 38 #define BRP_Iso14b_ErrCollision BRP_ERR_STATUS(0x1400, 0x02) 39 #ifdef BALTECH_SDK_INTERNAL 43 #define BRP_Iso14b_ErrAuth BRP_ERR_STATUS(0x1400, 0x03) 44 #endif // BALTECH_SDK_INTERNAL 48 #define BRP_Iso14b_ErrHf BRP_ERR_STATUS(0x1400, 0x04) 52 #define BRP_Iso14b_ErrFrame BRP_ERR_STATUS(0x1400, 0x07) 53 #ifdef BALTECH_SDK_INTERNAL 57 #define BRP_Iso14b_ErrCrc BRP_ERR_STATUS(0x1400, 0x08) 58 #endif // BALTECH_SDK_INTERNAL 62 #define BRP_Iso14b_ErrCom BRP_ERR_STATUS(0x1400, 0x10) 63 #ifdef BALTECH_SDK_INTERNAL 67 #define BRP_Iso14b_ErrEeprom BRP_ERR_STATUS(0x1400, 0x21) 68 #endif // BALTECH_SDK_INTERNAL 69 #ifdef BALTECH_SDK_INTERNAL 73 #define BRP_Iso14b_ErrCardNotSupported BRP_ERR_STATUS(0x1400, 0x22) 74 #endif // BALTECH_SDK_INTERNAL 78 #define BRP_Iso14b_ErrMem BRP_ERR_STATUS(0x1400, 0x23) 79 #ifdef BALTECH_SDK_INTERNAL 83 #define BRP_Iso14b_ErrHwNotSupported BRP_ERR_STATUS(0x1400, 0x24) 84 #endif // BALTECH_SDK_INTERNAL 114 #ifdef BRP_SUPPORT_LEGACY_METHODS 170 #ifdef BRP_SUPPORT_LEGACY_METHODS 171 brp_errcode brp_Iso14b_Attrib(
brp_protocol protocol,
brp_buf PUPI,
brp_Iso14b_Attrib_TR0 TR0,
brp_Iso14b_Attrib_TR1 TR1,
brp_Iso14b_Attrib_EOF_ EOF_,
brp_Iso14b_Attrib_SOF SOF,
brp_DivisorInteger DSI,
brp_DivisorInteger DRI,
brp_Iso14b_Attrib_FSDI FSDI,
unsigned ProtocolType,
unsigned CID,
bool EnHLR,
bool EnMBLI,
bool EnCID,
unsigned* AssignedCID,
unsigned* MBLI,
brp_buf* HLR,
size_t* HLR_len,
brp_mempool *mempool);
188 #ifdef BRP_SUPPORT_LEGACY_METHODS 224 #ifdef BRP_SUPPORT_LEGACY_METHODS 225 brp_errcode brp_Iso14b_TransparentCmd(
brp_protocol protocol,
bool EnCRCRX,
bool EnCRCTX,
unsigned SendDataLen,
unsigned Timeout,
brp_DivisorInteger DSI,
brp_DivisorInteger DRI,
brp_buf SendData,
size_t SendData_len,
brp_buf* RecvData,
size_t* RecvData_len,
brp_mempool *mempool);
brp_Iso14b_Attrib_SOF SOF
brp_errcode brp_Iso14b_Halt(brp_Iso14b_Halt_t params)
Switch the PICC with the given PUPI serial number into halt state, so that it will not answer to furt...
brp_Iso14b_Attrib_EOF_
End Of Frame (EOF) flag for sending data to reader.
brp_Iso14b_Attrib_FSDI FSDI
brp_DivisorInteger
Divisor Send/Receive Integer (DSI/DRI)
brp_Iso14b_Request_TimeSlots TimeSlots
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_errcode brp_Iso14b_Attrib(brp_Iso14b_Attrib_t params)
Select the PICC with given PUPI serial number for further communication.
brp_Iso14b_Attrib_SOF
Start Of Frame (SOF) flag for sending data to reader.
brp_Iso14b_Request_TimeSlots
Number of time slots which should be used for requesting PICCs.
brp_errcode brp_Iso14b_Request(brp_Iso14b_Request_t params)
Scan for ISO 14443 (Type B) compliant PICCs in the field of the antenna.
struct brp_mempool_object_t * brp_mempool
mempool handle.
brp_Iso14b_Attrib_TR0
PICC's minimum delay before responding after the end of a command sent by PCD.
brp_Iso14b_Request_ValueList_Entry ** ValueList
brp_Iso14b_Attrib_TR1
Minimum delay between subcarrier modulation start and beginning of data transmission.
brp_Iso14b_Attrib_FSDI
Frame Size proximity coupling Device Integer (FSDI) value.
brp_Iso14b_Attrib_EOF_ EOF_
brp_Iso14b_Attrib_TR0 TR0
brp_errcode brp_Iso14b_TransparentCmd(brp_Iso14b_TransparentCmd_t params)
This command sends a data stream to a card and returns the communication status and the received card...
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
brp_Iso14b_Attrib_TR1 TR1