C API for BALTECH SDK
legic.h File Reference

This command group provides access to the LEGIC card system. More...

#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_Legic_ErrCommunication   BRP_ERR_STATUS(0x1E00, 0x01)
 Communication error. More...
 
#define BRP_Legic_ErrNotInitialized   BRP_ERR_STATUS(0x1E00, 0x02)
 LEGIC support is not initialized yet. More...
 
#define BRP_Legic_ErrNotAssembled   BRP_ERR_STATUS(0x1E00, 0x03)
 No appropriate LEGIC reader chip is assembled on this hardware. More...
 

Functions

brp_errcode brp_Legic_TransparentCommand4000 (brp_protocol protocol, unsigned CmdCode, brp_buf CmdParams, size_t CmdParams_len, unsigned Timeout, unsigned *Status, brp_buf *Resp, size_t *Resp_len, brp_mempool *mempool)
 Transparent command to directly access the LEGIC reader chip modules from the 4000 series, e.g. More...
 
brp_errcode brp_Legic_TransparentCommand6000 (brp_protocol protocol, unsigned CmdCode, brp_buf CmdParams, size_t CmdParams_len, unsigned Timeout, unsigned *Status, brp_buf *Resp, size_t *Resp_len, brp_mempool *mempool)
 Transparent command to directly access the LEGIC reader chip modules from the 6000 series, e.g. More...
 

Detailed Description

This command group provides access to the LEGIC card system.

LEGIC cards can be distinguished into two generations: the state-of-the-art LEGIC advant technology, which is based on ISO 14443 and ISO 15693 standards, and the still widely-used predecessor LEGIC prime technology. Both are supported.

Definition in file legic.h.