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) 36 #define BRP_Legic_ErrNotInitialized BRP_ERR_STATUS(0x1E00, 0x02) 43 #define BRP_Legic_ErrNotAssembled BRP_ERR_STATUS(0x1E00, 0x03) unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
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.
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.