CardEmu.StartNfc
This command has been deprecated. Do not use it in new code as we may remove it in the future.
Switch to Passive mode and wait for an NFC powerup sequence
Properties
- Command code: 0x4704
- Command timeout: 1000 ms
- Possible status codes: General status codes, CardEmu.CardemuErrNoTag, CardEmu.CardemuErrCollision, CardEmu.CardemuErrHf, CardEmu.CardemuErrFrame, CardEmu.CardemuErrCrc, CardEmu.CardemuErrCom, CardEmu.CardemuErrBuflen, CardEmu.CardemuErrTimeout
Parameters (request frame)
| Name | Type/Size | Description | |
|---|---|---|---|
| - | Bit mask (8 bits) | - | |
| RFU | Integer (bit mask area 0xFE) |
Zero padding |
|
| NfcAPassiv | Boolean (bit 0x01) | enables NFC-A passive mode - command terninates after receiving the RATS command. | |
| Snr | Raw data (length 4 Bytes) | 4 byte serial number of card to emulate. | |
| ATQA | Integer (16 bits) | Attention: When transferred via HF, the ATQA is sent LSB (instead of the MSB order used here). | |
| SAK | Integer (8 bits) | Select Acknowledge (SAK), according to the ISO 14443-3 (Type A) standard. | |
| Timeout | Integer (16 bits) | Maximum time to wait for a Request. | |
Returned values (response frame)
| Name | Type/Size | Description |
|---|---|---|
| Length of FirstCmd | Integer (16 bits) |
Length of FirstCmd in bytes |
| FirstCmd | Raw data | First ISO14443 command sent from the remote reader. |