BALTECH SDK wrapper functions reference
ask.h
Go to the documentation of this file.
1 
10 #ifndef __BRP_BALTECH_SDK_CMDS_ASK_H__
11 #define __BRP_BALTECH_SDK_CMDS_ASK_H__
12 #include "../typedefs.h"
13 #ifdef BALTECH_SDK_INTERNAL
14 
17 #define BRP_ASK_ErrAskNoTag BRP_ERR_STATUS(0x3600, 0x01)
18 #endif // BALTECH_SDK_INTERNAL
19 #ifdef BALTECH_SDK_INTERNAL
20 
23 #define BRP_ASK_ErrAskRxdata BRP_ERR_STATUS(0x3600, 0x03)
24 #endif // BALTECH_SDK_INTERNAL
25 #ifdef BALTECH_SDK_INTERNAL
26 
29 #define BRP_ASK_ErrAskParity BRP_ERR_STATUS(0x3600, 0x05)
30 #endif // BALTECH_SDK_INTERNAL
31 #ifdef BALTECH_SDK_INTERNAL
32 
35 #define BRP_ASK_ErrAskParam BRP_ERR_STATUS(0x3600, 0x07)
36 #endif // BALTECH_SDK_INTERNAL
37 #ifdef BALTECH_SDK_INTERNAL
38 
41 #define BRP_ASK_ErrAskHfreqctrl BRP_ERR_STATUS(0x3600, 0x08)
42 #endif // BALTECH_SDK_INTERNAL
43 #ifdef BALTECH_SDK_INTERNAL
44 
47 #define BRP_ASK_ErrAskHw BRP_ERR_STATUS(0x3600, 0x09)
48 #endif // BALTECH_SDK_INTERNAL
49 #ifdef BALTECH_SDK_INTERNAL
50 
53 #define BRP_ASK_ErrAskHwNotSupported BRP_ERR_STATUS(0x3600, 0x0B)
54 #endif // BALTECH_SDK_INTERNAL
55 #ifdef BALTECH_SDK_INTERNAL
56 typedef struct {
57  brp_protocol protocol;
58  brp_buf* Data;
59  size_t* Data_len;
60  brp_mempool *mempool;
61 } brp_ASK_SecuraKeyRead_t;
71 #ifdef BRP_SUPPORT_LEGACY_METHODS
72 brp_errcode brp_ASK_SecuraKeyRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
73 #else
74 brp_errcode brp_ASK_SecuraKeyRead(brp_ASK_SecuraKeyRead_t params);
75 #endif
76 #endif // BALTECH_SDK_INTERNAL
77 #ifdef BALTECH_SDK_INTERNAL
78 typedef struct {
79  brp_protocol protocol;
80  brp_buf* Data;
81  size_t* Data_len;
82  brp_mempool *mempool;
83 } brp_ASK_GproxRead_t;
93 #ifdef BRP_SUPPORT_LEGACY_METHODS
94 brp_errcode brp_ASK_GproxRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
95 #else
96 brp_errcode brp_ASK_GproxRead(brp_ASK_GproxRead_t params);
97 #endif
98 #endif // BALTECH_SDK_INTERNAL
99 #ifdef BALTECH_SDK_INTERNAL
100 typedef struct {
101  brp_protocol protocol;
102  brp_buf* Data;
103  size_t* Data_len;
104  brp_mempool *mempool;
105 } brp_ASK_CotagRead_t;
115 #ifdef BRP_SUPPORT_LEGACY_METHODS
116 brp_errcode brp_ASK_CotagRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
117 #else
118 brp_errcode brp_ASK_CotagRead(brp_ASK_CotagRead_t params);
119 #endif
120 #endif // BALTECH_SDK_INTERNAL
121 #endif
122 
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:29
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61