C API for BALTECH SDK

§ brp_CardEmu_StartNfc()

brp_errcode brp_CardEmu_StartNfc ( brp_protocol  protocol,
bool  NfcAPassiv,
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 an NFC powerup sequence.

Parameters
[in]protocolused to execute the command
[in]NfcAPassivenables NFC-A passive mode - command terninates after receiving the RATS command.
[in]Snr4 byte serial number of card to emulate.
[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 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