C API for BALTECH SDK
legic.h
Go to the documentation of this file.
1 
14 #ifndef __BRP_BALTECH_API_CMDS_LEGIC_H__
15 #define __BRP_BALTECH_API_CMDS_LEGIC_H__
16 #include "../typedefs.h"
25 #define BRP_Legic_ErrCommunication BRP_ERR_STATUS(0x1E00, 0x01)
26 
39 #define BRP_Legic_ErrNotInitialized BRP_ERR_STATUS(0x1E00, 0x02)
40 
46 #define BRP_Legic_ErrNotAssembled BRP_ERR_STATUS(0x1E00, 0x03)
47 
84 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);
85 #endif
86 
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
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)
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61