10 #ifndef __BRP_BALTECH_API_CMDS_SRIX_H__ 11 #define __BRP_BALTECH_API_CMDS_SRIX_H__ 12 #include "../typedefs.h" 16 #define BRP_Srix_ErrNoTag BRP_ERR_STATUS(0x2400, 0x01) 20 #define BRP_Srix_ErrFrame BRP_ERR_STATUS(0x2400, 0x03) 24 #define BRP_Srix_ErrHf BRP_ERR_STATUS(0x2400, 0x04) 28 #define BRP_Srix_ErrCom BRP_ERR_STATUS(0x2400, 0x05) 32 #define BRP_Srix_ErrSrixCardtypeNotSupported BRP_ERR_STATUS(0x2400, 0x06) 36 #define BRP_Srix_ErrHwNotSupported BRP_ERR_STATUS(0x2400, 0x07) 40 #define BRP_Srix_ErrCmdBreak BRP_ERR_STATUS(0x2400, 0x08) brp_errcode brp_Srix_Select(brp_protocol protocol, brp_buf *Snr, size_t *Snr_len, brp_mempool *mempool)
This command selects a label including anticollision.
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.
struct brp_mempool_object_t * brp_mempool
mempool handle.
brp_errcode brp_Srix_Read(brp_protocol protocol, unsigned Adr, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
This command reads a secure data page.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
brp_errcode brp_Srix_Write(brp_protocol protocol, unsigned Adr, brp_buf Data, size_t Data_len)
This command writes data to a page address of a label.