BALTECH Docs |
C API for BALTECH SDK
|
#include "../typedefs.h"
Go to the source code of this file.
Macros | |
#define | BRP_Lg_ErrNomim BRP_ERR_STATUS(0x1100, 0x01) |
#define | BRP_Lg_ErrInvalidCmd BRP_ERR_STATUS(0x1100, 0x02) |
#define | BRP_Lg_ErrAccessDenied BRP_ERR_STATUS(0x1100, 0x03) |
#define | BRP_Lg_ErrHf BRP_ERR_STATUS(0x1100, 0x04) |
#define | BRP_Lg_ErrDataCorrupt BRP_ERR_STATUS(0x1100, 0x05) |
#define | BRP_Lg_ErrCrc BRP_ERR_STATUS(0x1100, 0x06) |
#define | BRP_Lg_ErrCommunication BRP_ERR_STATUS(0x1100, 0x07) |
#define | BRP_Lg_ErrMimCorrupt BRP_ERR_STATUS(0x1100, 0x08) |
#define | BRP_Lg_ErrBusy BRP_ERR_STATUS(0x1100, 0x09) |
#define | BRP_Lg_NotInitialized BRP_ERR_STATUS(0x1100, 0x0A) |
Functions | |
brp_errcode | brp_Lg_Select (brp_protocol protocol, unsigned TO, unsigned Adr, unsigned Len, unsigned PollTime, unsigned CRCAdr, unsigned SafeDat, unsigned ChgSeg, unsigned ProtHead, unsigned CRCCalc, unsigned CRCChk, unsigned SegID, brp_buf Stamp, size_t Stamp_len, brp_Lg_Select_MediaType *MediaType, unsigned *FuncLevel, unsigned *OrgLevel, brp_Lg_Select_EvStat *EvStat, unsigned *ActSegID, unsigned *ActAdr, brp_buf *Data, size_t *Data_len, brp_mempool *mempool) |
brp_errcode | brp_Lg_Idle (brp_protocol protocol, brp_Lg_Idle_PowOff PowOff) |
brp_errcode | brp_Lg_GenSetRead (brp_protocol protocol, unsigned DesiredGenSetNum, unsigned *GenSetNum, brp_buf *Stamp, unsigned *StampLen, unsigned *WriteExLen, bool *WriteExShad, brp_Lg_GenSetRead_WriteExMode *WriteExMode, unsigned *WriteExStart, brp_mempool *mempool) |
brp_errcode | brp_Lg_GenSetDelete (brp_protocol protocol, unsigned GenSetNum, unsigned *DeletedGenSetNum) |
brp_errcode | brp_Lg_ReadMIM (brp_protocol protocol, unsigned Adr, unsigned Len, unsigned *DataAdr, brp_buf *Data, size_t *Data_len, brp_mempool *mempool) |
brp_errcode | brp_Lg_ReadMIMCRC (brp_protocol protocol, unsigned Adr, unsigned Len, unsigned CRCAdr, unsigned *DataAdr, brp_buf *Data, size_t *Data_len, brp_mempool *mempool) |
brp_errcode | brp_Lg_WriteMIM (brp_protocol protocol, unsigned Adr, brp_buf Data, size_t Data_len) |
brp_errcode | brp_Lg_WriteMIMCRC (brp_protocol protocol, unsigned Adr, unsigned DataLen, unsigned CRCAdr, brp_buf Data, size_t Data_len) |
brp_errcode | brp_Lg_MakeMIMCRC (brp_protocol protocol, unsigned Adr, unsigned Len, unsigned CRCAdr) |
brp_errcode | brp_Lg_ReadSMStatus (brp_protocol protocol, brp_buf *RFU, unsigned *SWV, unsigned *SmStat, unsigned *HfPow, bool *NoMIM, brp_Lg_ReadSMStatus_MIMVersion *MIMVersion, brp_mempool *mempool) |
brp_errcode | brp_Lg_SetPassword (brp_protocol protocol, brp_buf Password, brp_Lg_SetPassword_PwdStat *PwdStat) |
brp_errcode | brp_Lg_Lock (brp_protocol protocol, brp_Lg_Lock_PwdStat *PwdStat) |
brp_errcode | brp_Lg_Unlock (brp_protocol protocol, brp_buf Password, brp_Lg_Unlock_PwdStat *PwdStat) |
This command group provides access to the LEGIC Prime card system.
This command group is only available for readers equipped with the LEGIC prime reader module SM05!
Definition in file lg.h.