C API for BALTECH SDK
qkey.h
Go to the documentation of this file.
1 
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)
17 
20 #define BRP_QKey_ErrQkeyRxdata BRP_ERR_STATUS(0x3500, 0x03)
21 
24 #define BRP_QKey_ErrQkeyParity BRP_ERR_STATUS(0x3500, 0x05)
25 
28 #define BRP_QKey_ErrQkeyParam BRP_ERR_STATUS(0x3500, 0x07)
29 
32 #define BRP_QKey_ErrQkeyHfreqctrl BRP_ERR_STATUS(0x3500, 0x08)
33 
36 #define BRP_QKey_ErrQkeyHw BRP_ERR_STATUS(0x3500, 0x09)
37 
40 #define BRP_QKey_ErrQkeyHwNotSupported BRP_ERR_STATUS(0x3500, 0x0B)
41 
49 brp_errcode brp_QKey_Read(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
50 #endif
51 
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
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.
Definition: mempool.h:27
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61