MobileId.GetVirtualCredentialId
This command checks if a Mobile ID credential has been presented to the reader since the last MobileId.GetVirtualCredentialId execution.
- If a valid credential is detected, the credential identification will be returned in CredentialId .
- If no credential is detected, the MobileId.ErrNoCredential status code will be returned.
- If an invalid credential is detected, one of the other status codes will be returned.
If you use Autoread, run AR.GetMessage instead of this command to retrieve the ID of a presented credential.
Properties
- Command code: 0x4C03
- Command timeout: 100 ms
- Possible status codes: General status codes, MobileId.ErrNoCredential, MobileId.ErrProtocol, MobileId.ErrAuthentication, MobileId.ErrCredentialVersion, MobileId.ErrCredentialCmac, MobileId.ErrDisabled
Parameters (request frame)
None
Returned values (response frame)
Name | Type/Size | Description |
---|---|---|
Length of CredentialId | Integer (8 bits) |
Length of CredentialId in bytes |
CredentialId | Raw data | ASCII-encoded value containing the credential ID |