C API for BALTECH SDK
lga.h File Reference

**This command group is legacy! For new developments please uselegic.h instead. More...

#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_Lga_ErrNotag   BRP_ERR_STATUS(0x1200, 0x01)
 No LEGIC Advant/Prime card found in the reader's HF field or communication with card lost. More...
 
#define BRP_Lga_ErrLegic   BRP_ERR_STATUS(0x1200, 0x02)
 The LEGIC reader chip returned an error code. More...
 
#define BRP_Lga_ErrCommunication   BRP_ERR_STATUS(0x1200, 0x03)
 Communication error. More...
 
#define BRP_Lga_ErrNotInitialized   BRP_ERR_STATUS(0x1200, 0x04)
 LEGIC support is not initialized yet. More...
 
#define BRP_Lga_ErrNotAssembled   BRP_ERR_STATUS(0x1200, 0x05)
 No LEGIC reader chip is assembled on this hardware. More...
 

Functions

brp_errcode brp_Lga_TransparentCommand (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 module. More...
 

Detailed Description

**This command group is legacy! For new developments please uselegic.h instead.

**

Originally this command group provided low-level access to the first LEGIC advant compatible reader chip generation, the SC-2560. Due to the discontinuation of this chip in the year 2014 the support of the command group has been limited to the transparent command, which not only allows direct access to the former SC-2560, but also to the follow-up reader chip generation SM-4x00.

Please consult the official LEGIC documentation for the available command codes and parameters.

Definition in file lga.h.