BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Mce_Request | ( | brp_protocol | protocol, |
brp_buf * | Snr, | ||
size_t * | Snr_len, | ||
brp_mempool * | mempool | ||
) |
This command is used to check if a Mobile Card Emulation (MCE) device (usually a smartphone running a particular app) is currently presented to the reader.
As long as an MCE device is detected, the command returns the serial number that has been transferred from the device to the reader.
If no MCE device is detected, the status code BRP_Mce_ErrNoTag will be returned. In case MCE is not enabled on the reader, BRP_Mce_ErrDisabled will be returned.
[in] | protocol | used to execute the command |
[out] | Snr | Emulated serial number |
[out] | Snr_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 |