C API for BALTECH SDK
mobileid.h File Reference

With this command group, you can set up the Mobile ID functionality to read virtual credentials from smartphones. More...

#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_MobileId_ErrNoCredential   BRP_ERR_STATUS(0x4C00, 0x01)
 No valid credential has been presented to the reader so far. More...
 
#define BRP_MobileId_ErrProtocol   BRP_ERR_STATUS(0x4C00, 0x02)
 The credential is trying to perform an action that doesn't comply with the BALTECH Mobile ID protocol. More...
 
#define BRP_MobileId_ErrAuthentication   BRP_ERR_STATUS(0x4C00, 0x03)
 An authentication error occured, e.g. More...
 
#define BRP_MobileId_ErrCredentialVersion   BRP_ERR_STATUS(0x4C00, 0x04)
 The version of the presented credential is not compatible with the current reader firmware. More...
 
#define BRP_MobileId_ErrCredentialCmac   BRP_ERR_STATUS(0x4C00, 0x05)
 The presented credential is rejected due to an invalid CMAC. More...
 
#define BRP_MobileId_ErrDisabled   BRP_ERR_STATUS(0x4C00, 0x10)
 Mobile ID functionality is currently disabled. More...
 

Functions

brp_errcode brp_MobileId_Enable (brp_protocol protocol, brp_MobileId_Enable_Mode Mode)
 This command enables/disables Mobile ID. More...
 
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. More...
 
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 MobileId.GetVirtualCredentialId execution. More...
 

Detailed Description

With this command group, you can set up the Mobile ID functionality to read virtual credentials from smartphones.

Definition in file mobileid.h.