10 #ifndef __BRP_BALTECH_SDK_CMDS_LEGIC_H__ 11 #define __BRP_BALTECH_SDK_CMDS_LEGIC_H__ 12 #include "../typedefs.h" 13 #ifdef BALTECH_SDK_INTERNAL 19 #define BRP_Legic_ErrCommunication BRP_ERR_STATUS(0x1E00, 0x01) 20 #endif // BALTECH_SDK_INTERNAL 21 #ifdef BALTECH_SDK_INTERNAL 29 #define BRP_Legic_ErrNotInitialized BRP_ERR_STATUS(0x1E00, 0x02) 30 #endif // BALTECH_SDK_INTERNAL 31 #ifdef BALTECH_SDK_INTERNAL 37 #define BRP_Legic_ErrNotAssembled BRP_ERR_STATUS(0x1E00, 0x03) 38 #endif // BALTECH_SDK_INTERNAL 39 #ifdef BALTECH_SDK_INTERNAL 50 } brp_Legic_TransparentCommand4000_t;
81 #ifdef BRP_SUPPORT_LEGACY_METHODS 82 brp_errcode brp_Legic_TransparentCommand4000(
brp_protocol protocol,
unsigned _input_CmdCode,
brp_buf _input_CmdParams,
size_t _input_CmdParams_len,
unsigned _input_Timeout,
unsigned* Status,
brp_buf* Resp,
size_t* Resp_len,
brp_mempool *mempool);
84 brp_errcode brp_Legic_TransparentCommand4000(brp_Legic_TransparentCommand4000_t params);
96 } brp_Legic_TransparentCommand6000_t;
127 #ifdef BRP_SUPPORT_LEGACY_METHODS 128 brp_errcode brp_Legic_TransparentCommand6000(
brp_protocol protocol,
unsigned _input_CmdCode,
brp_buf _input_CmdParams,
size_t _input_CmdParams_len,
unsigned _input_Timeout,
unsigned* Status,
brp_buf* Resp,
size_t* Resp_len,
brp_mempool *mempool);
130 brp_errcode brp_Legic_TransparentCommand6000(brp_Legic_TransparentCommand6000_t params);
132 #endif // BALTECH_SDK_INTERNAL 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.
struct brp_mempool_object_t * brp_mempool
mempool handle.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.