C API for BALTECH SDK
mobileid.h
Go to the documentation of this file.
1 
12 #ifndef __BRP_BALTECH_API_CMDS_MOBILEID_H__
13 #define __BRP_BALTECH_API_CMDS_MOBILEID_H__
14 #include "../typedefs.h"
19 #define BRP_MobileId_ErrNoCredential BRP_ERR_STATUS(0x4C00, 0x01)
20 
26 #define BRP_MobileId_ErrProtocol BRP_ERR_STATUS(0x4C00, 0x02)
27 
32 #define BRP_MobileId_ErrAuthentication BRP_ERR_STATUS(0x4C00, 0x03)
33 
38 #define BRP_MobileId_ErrCredentialVersion BRP_ERR_STATUS(0x4C00, 0x04)
39 
43 #define BRP_MobileId_ErrCredentialCmac BRP_ERR_STATUS(0x4C00, 0x05)
44 
60 brp_errcode brp_MobileId_Setup(brp_protocol protocol, brp_buf Key, size_t Key_len);
78 brp_errcode brp_MobileId_GetVirtualCredentialId(brp_protocol protocol, brp_buf* CredentialId, size_t* CredentialId_len, brp_mempool *mempool);
79 #endif
80 
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_errcode brp_MobileId_GetVirtualCredentialId(brp_protocol protocol, brp_buf *CredentialId, size_t *CredentialId_len, brp_mempool *mempool)
brp_MobileId_Enable_Mode
Definition: typedefs.h:2123
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_MobileId_Setup(brp_protocol protocol, brp_buf Key, size_t Key_len)
brp_errcode brp_MobileId_Enable(brp_protocol protocol, brp_MobileId_Enable_Mode Mode)
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61