C API for BALTECH SDK
legic.h
Go to the documentation of this file.
1 
13 #ifndef __BRP_BALTECH_API_CMDS_LEGIC_H__
14 #define __BRP_BALTECH_API_CMDS_LEGIC_H__
15 #include "../typedefs.h"
23 #define BRP_Legic_ErrCommunication BRP_ERR_STATUS(0x1E00, 0x01)
24 
36 #define BRP_Legic_ErrNotInitialized BRP_ERR_STATUS(0x1E00, 0x02)
37 
43 #define BRP_Legic_ErrNotAssembled BRP_ERR_STATUS(0x1E00, 0x03)
44 
80 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);
117 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);
118 #endif
119 
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
Definition: errorcodes.h:23
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
Definition: protocol.h:34
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...
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
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...
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61