![]() |
BALTECH Docs |
C API for BALTECH SDK
|
| 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.
If you use Autoread, run brp_AR_GetMessage() instead of this command to retrieve the ID of a presented credential.
| [in] | protocol | used to execute the command |
| [out] | CredentialId | ASCII-encoded value containing the credential ID |
| [out] | CredentialId_len | |
| [in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |