C API for BALTECH SDK

§ brp_CardEmu_StartEmu()

brp_errcode brp_CardEmu_StartEmu ( brp_protocol  protocol,
brp_buf  Snr,
unsigned  ATQA,
unsigned  SAK,
unsigned  Timeout,
brp_buf FirstCmd,
size_t *  FirstCmd_len,
brp_mempool mempool 
)

Switch to Passive mode and wait for a ISO1443-3a Request/Anticoll/Select sequence and receive the first frame.

Parameters
[in]protocolused to execute the command
[in]SnrSerial number of card to emulate (first Byte has to be 0x08).
[in]ATQAAttention: When transferred via HF, the ATQA is sent LSB (instead of the MSB order used here).
[in]SAKSelect Acknowledge (SAK), according to the ISO 14443-3 (Type A) standard.
[in]TimeoutMaximum time to wait for a Request.
[out]FirstCmdFirst ISO14443-3 command sent from the remote reader.
[out]FirstCmd_len
[in]mempoolis 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
Deprecated:
This command may be removed in future!