SCM3712 REFERENCE MANUAL 65
8.7. Vendor IOCTL used for P2P mode of operation
Please note that some of the below mentioned commands do not work on all SCM3712 product
versions.
IOCTL_GET_CARD_TYPE
SCARD_CTL_CODE(0x90
0)
card detected by the
reader.
P2P Mode – Generic IOCTL
7
IOCTL_GET_DEVICE_CAPAB
1)
target and initiator modes.
IOCTL_GET_OR_SET_RW_P2P_MO
DES
SCARD_CTL_CODE(0x90
6)
Switches the device to
Reader/Write or P2P
mode.
P2P Initiator Mode IOCTL
IOCTL_INITIATOR_POLL
SCARD_CTL_CODE(0x90
2)
Polls for target devices in
P2P initiator mode
IOCTL_INITIATOR_CONNECT
SCARD_CTL_CODE(0x90
3)
device in P2P initiator
mode
IOCTL_INITIATOR_TRANSCEIVE
4)
to/from target device
IOCTL_INITIATOR_DISCONNECT
SCARD_CTL_CODE(0x90
5)
Disconnects from target
device
IOCTL_TARGET_RECEIVE
7)
initiator in target mode
IOCTL_TARGET_SEND
SCARD_CTL_CODE(0x90
8)
Send data to initiator in
target mode
Generic IOCTLs
8.7.1. IOCTL_GET_CARD_TYPE
8.7.1.1. Description
This vendor IOCTL is used to get the type of the card or the target detected by the reader.
8.7.1.2. Input buffer
NULL.
7
Only applicable for SCM3712 NFC and SCM3712 EA
8
Only applicable for SCM3712 NFC and SCM3712 EA
9
Only applicable for SCM3712 NFC and SCM3712 EA
Comments to this Manuals