BALTECH SDK wrapper functions reference
mobileid.h
Go to the documentation of this file.
1 
10 #ifndef __BRP_BALTECH_SDK_CMDS_MOBILEID_H__
11 #define __BRP_BALTECH_SDK_CMDS_MOBILEID_H__
12 #include "../typedefs.h"
16 #define BRP_MobileId_ErrNoCredential BRP_ERR_STATUS(0x4C00, 0x01)
17 
20 #define BRP_MobileId_ErrProtocol BRP_ERR_STATUS(0x4C00, 0x02)
21 
24 #define BRP_MobileId_ErrAuthentication BRP_ERR_STATUS(0x4C00, 0x03)
25 
28 #define BRP_MobileId_ErrCredentialVersion BRP_ERR_STATUS(0x4C00, 0x04)
29 
32 #define BRP_MobileId_ErrCredentialCmac BRP_ERR_STATUS(0x4C00, 0x05)
33 
36 #define BRP_MobileId_ErrDisabled BRP_ERR_STATUS(0x4C00, 0x10)
37 typedef struct {
48 #ifdef BRP_SUPPORT_LEGACY_METHODS
50 #else
52 #endif
53 typedef struct {
76 #ifdef BRP_SUPPORT_LEGACY_METHODS
77 brp_errcode brp_MobileId_GetVirtualCredentialId(brp_protocol protocol, brp_buf* CredentialId, size_t* CredentialId_len, brp_mempool *mempool);
78 #else
80 #endif
81 #endif
82 
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
Definition: errorcodes.h:23
brp_protocol protocol
Definition: mobileid.h:38
brp_MobileId_Enable_Mode
Definition: typedefs.h:1961
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
Definition: protocol.h:34
brp_MobileId_Enable_Mode Mode
Definition: mobileid.h:39
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:29
brp_errcode brp_MobileId_GetVirtualCredentialId(brp_MobileId_GetVirtualCredentialId_t params)
This command checks if a Mobile ID credential has been presented to the reader since the last MobileI...
brp_errcode brp_MobileId_Enable(brp_MobileId_Enable_t params)
This command enables/disables Mobile ID.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61