C API for BALTECH SDK
srix.h File Reference

Srix card commands. More...

#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_Srix_ErrNoTag   BRP_ERR_STATUS(0x2400, 0x01)
 No Tag. More...
 
#define BRP_Srix_ErrFrame   BRP_ERR_STATUS(0x2400, 0x03)
 Frame Error (CRC, parity...) More...
 
#define BRP_Srix_ErrHf   BRP_ERR_STATUS(0x2400, 0x04)
 General hf error. More...
 
#define BRP_Srix_ErrCom   BRP_ERR_STATUS(0x2400, 0x05)
 Hardware error. More...
 
#define BRP_Srix_ErrSrixCardtypeNotSupported   BRP_ERR_STATUS(0x2400, 0x06)
 Chip type not supported by reader chip. More...
 
#define BRP_Srix_ErrHwNotSupported   BRP_ERR_STATUS(0x2400, 0x07)
 Hardware does not support reader chip. More...
 
#define BRP_Srix_ErrCmdBreak   BRP_ERR_STATUS(0x2400, 0x08)
 Command has been interrupted. More...
 

Functions

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. More...
 
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. More...
 
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. More...
 

Detailed Description

Srix card commands.

Definition in file srix.h.