C API for BALTECH SDK
hid.h
Go to the documentation of this file.
1 
10 #ifndef __BRP_BALTECH_API_CMDS_HID_H__
11 #define __BRP_BALTECH_API_CMDS_HID_H__
12 #include "../typedefs.h"
16 #define BRP_HID_ErrHidNoTag BRP_ERR_STATUS(0x3300, 0x01)
17 
20 #define BRP_HID_ErrHidRxdata BRP_ERR_STATUS(0x3300, 0x03)
21 
24 #define BRP_HID_ErrHidParity BRP_ERR_STATUS(0x3300, 0x05)
25 
28 #define BRP_HID_ErrHidParam BRP_ERR_STATUS(0x3300, 0x07)
29 
32 #define BRP_HID_ErrHidHfreqctrl BRP_ERR_STATUS(0x3300, 0x08)
33 
36 #define BRP_HID_ErrHidHw BRP_ERR_STATUS(0x3300, 0x09)
37 
40 #define BRP_HID_ErrHidHwNotSupported BRP_ERR_STATUS(0x3300, 0x0B)
41 
46 #define BRP_HID_ErrLicense BRP_ERR_STATUS(0x3300, 0x0C)
47 
55 brp_errcode brp_HID_IndalaRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
64 brp_errcode brp_HID_ProxRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
73 brp_errcode brp_HID_AwidRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
82 brp_errcode brp_HID_IoProxRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
91 brp_errcode brp_HID_Prox32Read(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
101 brp_errcode brp_HID_PyramidRead(brp_protocol protocol, unsigned* Len, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
110 brp_errcode brp_HID_IndalaSecureRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
119 brp_errcode brp_HID_IdteckRead(brp_protocol protocol, brp_buf* Data, size_t* Data_len, brp_mempool *mempool);
120 #endif
121 
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
brp_errcode brp_HID_IndalaRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns data of Indala tags (read only tag).
brp_errcode brp_HID_IdteckRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns data of idteck tags (read only tag).
brp_errcode brp_HID_IndalaSecureRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns data of indala tags (read only tag).
brp_errcode brp_HID_IoProxRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns number of a IoProx tag (read only tag / 64 bit).
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61
brp_errcode brp_HID_ProxRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns raw data of HID prox tag (read only tag / 44 bit).
brp_errcode brp_HID_Prox32Read(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns raw data of HID prox 32 (orange) tag (read only tag / 32bit).
brp_errcode brp_HID_PyramidRead(brp_protocol protocol, unsigned *Len, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns number of Farpointe Pyramid cards (variable bitlength).
brp_errcode brp_HID_AwidRead(brp_protocol protocol, brp_buf *Data, size_t *Data_len, brp_mempool *mempool)
Returns number of a AWID tag (read only tag / 44 bit).