10 #ifndef __BRP_BALTECH_API_CMDS_QKEY_H__    11 #define __BRP_BALTECH_API_CMDS_QKEY_H__    12 #include "../typedefs.h"    16 #define BRP_QKey_ErrQkeyNoTag BRP_ERR_STATUS(0x3500, 0x01)    20 #define BRP_QKey_ErrQkeyRxdata BRP_ERR_STATUS(0x3500, 0x03)    24 #define BRP_QKey_ErrQkeyParity BRP_ERR_STATUS(0x3500, 0x05)    28 #define BRP_QKey_ErrQkeyParam BRP_ERR_STATUS(0x3500, 0x07)    32 #define BRP_QKey_ErrQkeyHfreqctrl BRP_ERR_STATUS(0x3500, 0x08)    36 #define BRP_QKey_ErrQkeyHw BRP_ERR_STATUS(0x3500, 0x09)    40 #define BRP_QKey_ErrQkeyHwNotSupported BRP_ERR_STATUS(0x3500, 0x0B) 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_QKey_Read(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns data of quadrakey tags (read only tag). 
 
struct brp_mempool_object_t * brp_mempool
mempool handle. 
 
unsigned char * brp_buf
represents a pointer to a protocol data buffer.