C API for BALTECH SDK
ask.h
Go to the documentation of this file.
1 
10 #ifndef __BRP_BALTECH_API_CMDS_ASK_H__
11 #define __BRP_BALTECH_API_CMDS_ASK_H__
12 #include "../typedefs.h"
16 #define BRP_ASK_ErrAskNoTag BRP_ERR_STATUS(0x3600, 0x01)
17 
20 #define BRP_ASK_ErrAskRxdata BRP_ERR_STATUS(0x3600, 0x03)
21 
24 #define BRP_ASK_ErrAskParity BRP_ERR_STATUS(0x3600, 0x05)
25 
28 #define BRP_ASK_ErrAskParam BRP_ERR_STATUS(0x3600, 0x07)
29 
32 #define BRP_ASK_ErrAskHfreqctrl BRP_ERR_STATUS(0x3600, 0x08)
33 
36 #define BRP_ASK_ErrAskHw BRP_ERR_STATUS(0x3600, 0x09)
37 
40 #define BRP_ASK_ErrAskHwNotSupported BRP_ERR_STATUS(0x3600, 0x0B)
41 
49 brp_errcode brp_ASK_SecuraKeyRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
58 brp_errcode brp_ASK_GproxRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
67 brp_errcode brp_ASK_CotagRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
68 #endif
69 
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_ASK_SecuraKeyRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns data of SecuraKey tags (read only tag).
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
brp_errcode brp_ASK_CotagRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns data of Cotag tags (read only tag).
brp_errcode brp_ASK_GproxRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns data of G-Prox tags (read only tag).
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61