11 #ifndef __BRP_BALTECH_API_CMDS_MOBILEID_H__ 12 #define __BRP_BALTECH_API_CMDS_MOBILEID_H__ 13 #include "../typedefs.h" 17 #define BRP_MobileId_ErrNoCredential BRP_ERR_STATUS(0x4C00, 0x01) 23 #define BRP_MobileId_ErrProtocol BRP_ERR_STATUS(0x4C00, 0x02) 28 #define BRP_MobileId_ErrAuthentication BRP_ERR_STATUS(0x4C00, 0x03) 33 #define BRP_MobileId_ErrCredentialVersion BRP_ERR_STATUS(0x4C00, 0x04) 37 #define BRP_MobileId_ErrCredentialCmac BRP_ERR_STATUS(0x4C00, 0x05) 41 #define BRP_MobileId_ErrDisabled BRP_ERR_STATUS(0x4C00, 0x10) 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)
This command checks if a Mobile ID credential has been presented to the reader since the last MobileI...
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)
This command is used to set up Mobile ID parameters.
brp_errcode brp_MobileId_Enable(brp_protocol protocol, brp_MobileId_Enable_Mode Mode)
This command enables/disables Mobile ID.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.