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) 26 #define BRP_MobileId_ErrProtocol BRP_ERR_STATUS(0x4C00, 0x02) 32 #define BRP_MobileId_ErrAuthentication BRP_ERR_STATUS(0x4C00, 0x03) 38 #define BRP_MobileId_ErrCredentialVersion BRP_ERR_STATUS(0x4C00, 0x04) 43 #define BRP_MobileId_ErrCredentialCmac BRP_ERR_STATUS(0x4C00, 0x05) unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
brp_errcode brp_MobileId_GetVirtualCredentialId(brp_protocol protocol, brp_buf *CredentialId, size_t *CredentialId_len, brp_mempool *mempool)
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
struct brp_mempool_object_t * brp_mempool
mempool handle.
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.