C API for BALTECH SDK
lga.h
Go to the documentation of this file.
1 
20 #ifndef __BRP_BALTECH_API_CMDS_LGA_H__
21 #define __BRP_BALTECH_API_CMDS_LGA_H__
22 #include "../typedefs.h"
27 #define BRP_Lga_ErrNotag BRP_ERR_STATUS(0x1200, 0x01)
28 
34 #define BRP_Lga_ErrLegic BRP_ERR_STATUS(0x1200, 0x02)
35 
42 #define BRP_Lga_ErrCommunication BRP_ERR_STATUS(0x1200, 0x03)
43 
55 #define BRP_Lga_ErrNotInitialized BRP_ERR_STATUS(0x1200, 0x04)
56 
61 #define BRP_Lga_ErrNotAssembled BRP_ERR_STATUS(0x1200, 0x05)
62 
101 brp_errcode brp_Lga_TransparentCommand(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);
102 #endif
103 
brp_errcode brp_Lga_TransparentCommand(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 module.
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
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61